/* /var/www/rkn-checker/assets/css/account.css */
/* Стили для личного кабинета пользователя */
/* Последнее изменение: 2026-02-24 22:30 */
/* Автор: AndyBrok */

/* Account Layout */
.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
    max-width: 1400px;
    margin: 0 auto;
    gap: 0;
}

/* Sidebar */
.account-sidebar {
    background: linear-gradient(180deg, #0f172a 0%, #131c31 50%, #0f172a 100%);
    border-right: 1px solid rgba(59, 130, 246, 0.1);
    padding: 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 2rem 1.5rem 1.75rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(139, 92, 246, 0.06) 100%);
    border-bottom: 1px solid rgba(59, 130, 246, 0.12);
    position: relative;
}

.sidebar-header::before {
    content: '';
    position: absolute;
    top: 1.75rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent-color), #8b5cf6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-header::after {
    content: '👤';
    position: absolute;
    top: 1.75rem;
    left: 1.5rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 1;
}

.sidebar-header h3 {
    font-size: 1rem;
    margin-bottom: 0.375rem;
    color: var(--text-primary);
    font-weight: 600;
    padding-left: 56px;
    line-height: 1.3;
}

.sidebar-header p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    word-break: break-all;
    line-height: 1.4;
    padding-left: 56px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0.75rem 0.75rem;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.8125rem 1rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.25s ease;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 10px;
    position: relative;
}

.nav-item svg {
    flex-shrink: 0;
    opacity: 0.55;
    transition: all 0.25s ease;
}

.nav-item:hover {
    background: rgba(59, 130, 246, 0.08);
    color: var(--text-primary);
}

.nav-item:hover svg {
    opacity: 0.9;
    color: var(--accent-color);
}

.nav-item.active {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    color: var(--accent-color);
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.nav-item.active svg {
    opacity: 1;
    color: var(--accent-color);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent-color);
    border-radius: 0 3px 3px 0;
}

.nav-item:last-child {
    margin-top: auto;
    color: var(--text-muted);
}

.nav-item:last-child:hover {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.08);
}

.nav-item:last-child:hover svg {
    color: var(--danger);
}

/* Main Content */
.account-main {
    padding: 2.5rem 3rem;
    overflow-y: auto;
    background: var(--bg-primary);
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.page-subtitle {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 0.9375rem;
}

/* Subscription Banner */
.subscription-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.subscription-banner.banner-warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(251, 191, 36, 0.12) 100%);
    border-color: rgba(245, 158, 11, 0.35);
}

.subscription-banner.banner-danger {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(220, 38, 38, 0.12) 100%);
    border-color: rgba(239, 68, 68, 0.35);
}

.banner-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.banner-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.stats-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.stat-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon-primary {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-color);
}

.stat-icon-success {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.stat-icon-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--danger);
}

.stat-icon-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.stat-number.stat-success {
    color: var(--success);
}

.stat-number.stat-danger {
    color: var(--danger);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.dashboard-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0;
}

/* Domains List */
.domains-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.domain-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.domain-item:hover {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

.domain-info {
    flex: 1;
}

.domain-name {
    font-weight: 600;
    margin-bottom: 0.375rem;
    font-size: 1rem;
}

.domain-meta {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.domain-status {
    display: flex;
    gap: 0.625rem;
    align-items: center;
}

/* Notifications List */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.2s ease;
}

.notification-item:hover {
    border-color: var(--border-focus);
}

.notification-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-message {
    margin-bottom: 0.375rem;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.notification-time {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.notification-status {
    flex-shrink: 0;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state svg {
    margin: 0 auto 1.5rem;
    opacity: 0.25;
    color: var(--text-muted);
}

.empty-state h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.empty-state p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.9375rem;
}

.empty-state-sm {
    text-align: center;
    padding: 3rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9375rem;
}

/* Info Banner */
.info-banner {
    padding: 1.25rem 1.75rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.9375rem;
}

.info-content strong {
    color: var(--text-primary);
}

.divider {
    color: var(--text-muted);
    opacity: 0.5;
}

/* Upgrade Banner */
.upgrade-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.12) 0%, rgba(168, 85, 247, 0.12) 100%);
    border: 1px solid rgba(139, 92, 246, 0.35);
    border-radius: 16px;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.upgrade-content {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
}

.upgrade-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.upgrade-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.375rem;
    font-weight: 600;
}

.upgrade-content p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin: 0;
    line-height: 1.5;
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 90%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.75rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.375rem;
    margin: 0;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}

.modal-content form {
    padding: 2rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

/* Tables */
.domains-table-container,
.payments-table-container {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
}

.domains-table {
    width: 100%;
    border-collapse: collapse;
}

.domains-table th {
    background: rgba(15, 23, 42, 0.5);
    padding: 1.125rem 1.25rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-color);
}

.domains-table td {
    padding: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.domains-table tbody tr:last-child td {
    border-bottom: none;
}

.domains-table tbody tr {
    transition: background 0.2s ease;
}

.domains-table tbody tr:hover {
    background: rgba(59, 130, 246, 0.05);
}

.domain-cell {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.domain-cell strong {
    font-weight: 600;
    color: var(--text-primary);
}

.domain-cell small {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

.notify-icons {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 1.25rem;
}

.notify-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.notify-tg {
    color: #26A5E4;
}

.notify-tg svg {
    width: 20px;
    height: 20px;
}

.action-buttons {
    display: flex;
    gap: 0.625rem;
}

/* Settings */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.settings-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
}

.settings-section h2 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.settings-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.settings-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.settings-label strong {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9375rem;
}

.settings-label span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.settings-action {
    flex-shrink: 0;
}

.settings-danger {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
}

.text-muted {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Subscription Plans */
.current-plan-card {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.35);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
}

.plan-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.plan-header h2 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: 700;
}

.plan-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.plan-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.15);
}

.detail-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.075em;
}

.detail-value {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.plan-card {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.plan-current {
    border-color: var(--accent-color);
    background: rgba(59, 130, 246, 0.06);
}

.plan-popular {
    border-color: #8b5cf6;
    background: rgba(139, 92, 246, 0.04);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 1.25rem;
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.025em;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plan-price {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-left: 0.25rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    flex: 1;
}

.plan-features li {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.5;
}

.plan-features li:last-child {
    margin-bottom: 0;
}

.plan-features svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.plan-features strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Auth Pages (Login/Register) */
.auth-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.auth-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header h1 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1.75rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.625rem;
    font-weight: 600;
    font-size: 0.9375rem;
}

.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="text"] {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.auth-form input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.12);
}

.form-hint {
    display: block;
    margin-top: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.checkbox-label {
    display: flex;
    align-items: start;
    gap: 0.625rem;
    cursor: pointer;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    margin-top: 0.25rem;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.checkbox-label span {
    flex: 1;
}

.checkbox-label a {
    color: var(--accent-color);
    text-decoration: underline;
}

.auth-divider {
    text-align: center;
    margin: 2rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    background: var(--bg-secondary);
    padding: 0 1.25rem;
    position: relative;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    font-size: 0.9375rem;
}

.auth-footer a {
    color: var(--accent-color);
    font-weight: 600;
}

.link-muted {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.link-muted:hover {
    color: var(--accent-color);
}

.btn-telegram {
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    color: white !important;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #229ED9 0%, #1E88C7 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(42, 171, 238, 0.4);
}

.telegram-hint {
    text-align: center;
    margin-top: 1.25rem;
    padding: 1.25rem;
    background: rgba(42, 171, 238, 0.08);
    border: 1px solid rgba(42, 171, 238, 0.2);
    border-radius: 10px;
}

.telegram-hint p {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

.telegram-hint code {
    background: rgba(42, 171, 238, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: #2AABEE;
    font-weight: 600;
}

.auth-info {
    padding: 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.auth-info h2 {
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.auth-info > p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.info-features {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.info-feature {
    padding: 1.75rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.info-feature:hover {
    border-color: var(--accent-color);
    transform: translateX(4px);
}

.info-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    line-height: 1;
}

.info-feature h3 {
    font-size: 1.125rem;
    margin-bottom: 0.625rem;
    font-weight: 600;
}

.info-feature p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
}

.auth-benefits {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(59, 130, 246, 0.25);
    border-radius: 16px;
    padding: 2.5rem;
}

.auth-benefits h3 {
    margin-bottom: 1.75rem;
    font-size: 1.375rem;
    font-weight: 600;
}

.auth-benefits ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.auth-benefits li {
    display: flex;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    transition: all 0.2s ease;
}

.auth-benefits li:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.auth-benefits li:last-child {
    margin-bottom: 0;
}

.auth-benefits li svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.auth-benefits li span {
    line-height: 1.5;
    font-size: 0.9375rem;
}

.btn-loader {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Set Password / Telegram Link Pages */
.payment-result-container {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.payment-result-card {
    max-width: 640px;
    width: 100%;
    text-align: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.payment-result-card.success {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.06);
}

.payment-result-card.failed {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.06);
}

.result-icon {
    margin-bottom: 2rem;
}

.payment-result-card h1 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.payment-result-card.success h1 {
    color: #22c55e;
}

.payment-result-card.failed h1 {
    color: #ef4444;
}

.payment-result-card > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.result-info {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.75rem;
    margin-bottom: 2rem;
    text-align: left;
}

.result-info p {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.result-info strong {
    color: var(--text-primary);
}

.result-info ul {
    margin-top: 0.75rem;
    padding-left: 1.75rem;
}

.result-info li {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.result-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .account-layout {
        grid-template-columns: 260px 1fr;
    }
    
    .account-main {
        padding: 2rem 2.5rem;
    }
}

@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plan-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .account-layout {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        position: static;
        height: auto;
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.1);
        background: var(--bg-secondary);
    }
    
    .sidebar-header {
        padding: 1.25rem 1.5rem;
    }

    .sidebar-header::before,
    .sidebar-header::after {
        display: none;
    }

    .sidebar-header h3,
    .sidebar-header p {
        padding-left: 0;
    }
    
    .sidebar-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 0.5rem 0.75rem;
        gap: 4px;
    }
    
    .nav-item {
        padding: 0.625rem 0.875rem;
        white-space: nowrap;
        font-size: 0.875rem;
    }
    
    .nav-item.active::before {
        display: none;
    }

    .nav-item:last-child {
        margin-top: 0;
    }
    
    .account-main {
        padding: 1.5rem;
    }
    
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .stats-grid,
    .stats-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .subscription-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .upgrade-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.5rem;
    }
    
    .upgrade-content {
        margin-bottom: 1rem;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
    }
    
    .domains-table-container {
        overflow-x: auto;
    }
    
    .domains-table {
        min-width: 800px;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin: 2rem auto;
    }
    
    .auth-card {
        padding: 2rem;
    }
    
    .auth-info,
    .auth-benefits {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .account-main {
        padding: 1rem;
    }
    
    .page-header h1 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        padding: 1.25rem;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .dashboard-section {
        padding: 1.5rem;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .modal-header,
    .modal-content form {
        padding: 1.5rem;
    }
    
    .plan-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .plan-detail {
        padding: 0.875rem;
    }
    
    .detail-value {
        font-size: 1.125rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-name {
        font-size: 1.375rem;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .current-plan-card {
        padding: 1.5rem;
    }
    
    .plan-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
        padding-bottom: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .plan-header h2 {
        font-size: 1.25rem;
    }
}
