/* styles.css - Светлая тема */

:root {
    /* Светлая цветовая палитра */
    --bg-primary: #F8F9FC;
    --bg-secondary: #FFFFFF;
    --bg-elevated: #FFFFFF;
    --bg-card: #FFFFFF;
    --bg-hover: #F1F3F9;
    --bg-input: #FFFFFF;
    
    /* Акцентные цвета */
    --gold-primary: #FF6700;
    --gold-light: #E8BFA3;
    --gold-dark: #B34A02;
    --gold-glow: rgba(198, 164, 59, 0.12);
    
    /* Текст */
    --text-primary: #1A1F36;
    --text-secondary: #5A6B8C;
    --text-muted: #8A99B4;
    --text-light: #B8C2D8;
    
    /* Статусы */
    --accent-red: #E53E3E;
    --accent-red-light: #FEEBEB;
    --accent-green: #38A169;
    --accent-green-light: #F0FFF4;
    --accent-blue: #3182CE;
    --accent-orange: #ED8936;
    
    /* Границы и тени */
    --border-light: #E2E8F0;
    --border-focus: rgba(198, 164, 59, 0.4);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.02);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 48px rgba(0, 0, 0, 0.12);
    
    /* Переходы */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    
    /* Скругления */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Легкий градиентный фон */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 10% 20%, rgba(198, 164, 59, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(198, 164, 59, 0.02) 0%, transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ========== HEADER ========== */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo svg {
    filter: drop-shadow(0 2px 4px rgba(198, 164, 59, 0.2));
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-item {
    text-align: right;
}

.nav-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    display: block;
}

.nav-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--gold-primary);
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-exit {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 8px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-exit:hover {
    border-color: var(--accent-red);
    color: var(--accent-red);
    background: var(--accent-red-light);
}

.user-avatar {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
    box-shadow: var(--shadow-sm);
}

/* ========== MAIN CONTENT ========== */
.main-content {
    padding: 40px 0 60px;
}

/* Секция уведомлений */
.notification-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-bottom: 56px;
}

.notification-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.notification-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    opacity: 0.6;
}

.notification-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--gold-light);
}

.notification-text p {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 10px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-secondary:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-glow);
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
    border: none;
    padding: 10px 28px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(198, 164, 59, 0.3);
}

/* Секция заявок */
.section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 28px;
    letter-spacing: -0.3px;
    color: var(--text-primary);
}

.section-title .highlight {
    color: var(--gold-primary);
    background: var(--gold-glow);
    padding: 4px 12px;
    border-radius: 40px;
    font-size: 20px;
}

/* Карточка заявки */
.application-card {
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
    margin-bottom: 32px;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

.application-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--gold-light);
}

.card-header {
    padding: 24px 32px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.card-icon svg {
    stroke: var(--gold-primary);
    stroke-width: 2.5;
}

.card-title-group {
    flex: 1;
}

.card-title {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.card-id {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'SF Mono', monospace;
}

.card-status-badge {
    background: var(--gold-glow);
    border: 1px solid var(--gold-light);
    padding: 6px 16px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 600;
    color: var(--gold-dark);
}

.card-body {
    padding: 0 32px 24px;
}

.info-grid {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.info-row {
    margin-bottom: 20px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-item {
    display: flex;
    align-items: baseline;
    gap: 24px;
}

.info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    min-width: 150px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
}

.person-info {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.card-number {
    font-family: 'SF Mono', monospace;
    font-size: 13px;
    color: var(--text-muted);
    background: var(--bg-hover);
    padding: 4px 10px;
    border-radius: 20px;
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--accent-red);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: opacity var(--transition-fast);
}

.btn-link:hover {
    opacity: 0.7;
}

.payment-status {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.date {
    font-size: 13px;
    color: var(--text-muted);
    font-family: 'SF Mono', monospace;
}

.status-text {
    font-size: 13px;
    color: var(--text-secondary);
}

.amount.paid {
    color: var(--accent-green);
    font-weight: 600;
    background: var(--accent-green-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.amount.nopaid {
    color: var(--accent-red);
    font-weight: 600;
    background: var(--accent-red-light);
    padding: 4px 12px;
    border-radius: 20px;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}

.doc-link,.doc-link-def {
    font-size: 13px;
    color: var(--gold-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
    width: fit-content;
}

.doc-link:hover, .doc-link-def:hover {
    color: var(--gold-dark);
    text-decoration: underline;
}

.card-actions {
    display: flex;
    gap: 16px;
    padding: 24px 0 16px;
    border-bottom: 1px solid var(--border-light);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 12px 28px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-glow);
}

.btn-details {
    background: transparent;
    border: 1px solid var(--gold-primary);
    padding: 12px 28px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--gold-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

#profile {cursor:pointer;}

.btn-continue {
    background: transparent;
    border: 1px solid var(--accent-red);
    padding: 12px 28px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: var(--accent-red);
    cursor: pointer;
    transition: all var(--transition-fast);
	text-decoration: none;
	text-align: center;
}
.btn-continue svg {
	vertical-align: middle;
}

.btn-details:hover {
    background: var(--gold-glow);
    transform: translateX(4px);
}

.card-footer {
    padding-top: 16px;
    text-align: right;
}

.views-count {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.btn-new-application {
    width: 100%;
    background: transparent;
    border: 2px dashed var(--border-light);
    padding: 20px;
    border-radius: var(--radius-lg);
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 8px;
}

.btn-new-application:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-glow);
}

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 48px 0 32px;
    margin-top: 40px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-contact {
    margin-bottom: 12px;
}

.footer-contact span, .footer-address {
    font-size: 13px;
    color: var(--text-muted);
    display: block;
}

.footer-contact a {
    color: var(--gold-primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.footer-address {
    margin-top: 16px;
    font-style: normal;
}

.footer-text {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.footer-links a {
    font-size: 11px;
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 11px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--gold-primary);
    text-decoration: none;
}

.btn-cookie {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 8px 20px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cookie:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

/* ========== СТРАНИЦА АВТОРИЗАЦИИ (светлая) ========== */
body.login-page {
    background: linear-gradient(135deg, #F0F4F8 0%, #E8EDF3 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    background: white;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(198, 164, 59, 0.15);
}

.login-form-section {
    flex: 1;
    padding: 52px 44px;
    background: white;
}

.logo-login {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 52px;
}

.logo-login .logo-text {
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-left: 8px;
}

.login-title {
    font-size: 34px;
    font-weight: 600;
    margin-bottom: 36px;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.login-form {
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(198, 164, 59, 0.15);
}

.form-hint {
    display: inline-block;
    font-size: 12px;
    color: var(--gold-primary);
    text-decoration: none;
    margin-top: 8px;
}

.form-checkbox, .form-info {
    margin-bottom: 20px;
}

.checkbox-label, .info-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    background: white;
    border: 1.5px solid var(--border-light);
    border-radius: 4px;
    display: inline-block;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all var(--transition-fast);
}

input[type="checkbox"] {
    display: none;
}

input[type="checkbox"]:checked + .checkbox-custom {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    position: relative;
}

input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: -1px;
    left: 3px;
    font-size: 12px;
    color: white;
    font-weight: bold;
}

.checkbox-text, .info-text {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    padding: 16px;
    border-radius: 44px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin-top: 16px;
    box-shadow: var(--shadow-sm);
}

#telegram_block {margin-top: 20px;}

.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.8) !important;
}

.btn-social {
    border: none;
    padding: 16px;
    border-radius: 44px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    margin: 16px;
    box-shadow: var(--shadow-sm);
	text-decoration: none;
	display: block;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(198, 164, 59, 0.35);
}

.login-footer {
    padding-top: 28px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 32px;
    font-size: 13px;
}

.contact-info span {
    color: var(--text-muted);
}

.contact-info a {
    color: var(--gold-primary);
    text-decoration: none;
    margin-left: 8px;
    font-weight: 500;
}

.contact-info a:hover {
    text-decoration: underline;
}

.login-illustration-section {
    flex: 0.8;
    background-image: url('../img/login.png'); 
    background-size: cover; 
    background-position: center 30%; 
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределяет пространство между верхом и низом */
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.illustration-content {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: auto; /* Отправляет контент вниз */
}

.disclaimer {
    font-size: 11px;
    color: #8A7A5A;
    line-height: 1.5;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.7);
    padding: 12px 16px;
    border-radius: 16px;
    margin: 0;
}

.blocked-sms {
	width: 48px; 
	height: 48px; 
	margin: 0 auto; 
	display: flex; 
	align-items: center; 
	justify-content: center;
}
.blsms-title {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.5px;
	color: var(--text-primary); 
	margin-bottom: 8px;
	max-width: 180px;
	margin-left: 8px;
}
.blsms-desc {
	font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary); 
	/*max-width: 200px;*/
}

.unlock-sms-card, .block-sms-card {display: flex; justify-content: space-between; align-items: center;}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.application-card, .notification-card {
    animation: fadeInUp 0.5s ease forwards;
}

.notification-card:nth-child(1) { animation-delay: 0.05s; }
.notification-card:nth-child(2) { animation-delay: 0.1s; }
.application-card { animation-delay: 0.15s; }

/* Адаптивность */
@media (max-width: 900px) {
    .login-container {
        flex-direction: column;
        margin: 0;
        border-radius: 32px;
    }
    .login-illustration-section {
        display: none;
    }
    .notification-section {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .info-item {
        flex-direction: column;
        gap: 4px;
    }
    .info-label {
        min-width: auto;
    }
    .card-actions {
        flex-direction: column;
    }
    .btn-outline, .btn-details {
        width: 100%;
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .login-form-section {
        padding: 36px 28px;
    }
	
	.nav-link {
		font-size:12px;
	}
}

@media (max-width: 640px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
    }
    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    .nav-item {
        text-align: center;
    }
    .login-footer {
        flex-direction: column;
        gap: 12px;
    }
    .card-header {
        padding: 20px;
    }
    .card-body {
        padding: 0 20px 20px;
    }
}

.btn-soc {
	border: 1px solid #FF6700;
    background: none;
    color: #FF6700;
}

/* Модальное окно с офферами */
.offers-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offers-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.offers-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.offers-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-light);
    background: white;
}

.offers-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.offers-modal-close {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-hover);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.offers-modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.offers-modal-body {
    padding: 16px 20px;
    max-height: calc(80vh - 70px);
    overflow-y: auto;
}

/* Карточка оффера */
.offer-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    margin-bottom: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all var(--transition-fast);
}

.offer-card:last-child {
    margin-bottom: 0;
}

.offer-card:hover {
    border-color: var(--gold-light);
    box-shadow: var(--shadow-sm);
}

.offer-logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-hover);
    border-radius: 12px;
    overflow: hidden;
}

.offer-logo img {
    max-width: 48px;
    max-height: 48px;
    object-fit: contain;
}

.offer-info {
    flex: 1;
    margin-left: 16px;
}

.offer-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.offer-condition {
    font-size: 12px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.offer-percent {
    color: var(--accent-green);
    font-weight: 600;
}

.offer-status {
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    background: var(--accent-green-light);
    color: var(--accent-green);
}

.offer-status.visited {
    background: var(--border-light);
    color: var(--text-muted);
}

.offer-btn {
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    padding: 10px 20px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.offer-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(198, 164, 59, 0.3);
}

.offer-visited {
    flex-shrink: 0;
    padding: 10px 20px;
    border-radius: 40px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-hover);
    white-space: nowrap;
}

/* Загрузчик */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--border-light);
    border-top-color: var(--gold-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.loading-text {
    margin-top: 16px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Пустое состояние */
.empty-offers {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-offers svg {
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Модальное окно профиля */
.profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.profile-modal-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    background: white;
    border-radius: 24px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    animation: modalFadeIn 0.3s ease;
}

.profile-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-light);
    background: white;
}

.profile-modal-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.profile-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-hover);
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-modal-close:hover {
    background: var(--border-light);
    color: var(--text-primary);
}

.profile-modal-body {
    padding: 28px;
    max-height: calc(85vh - 70px);
    overflow-y: auto;
}

/* Форма профиля */
.profile-form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.profile-form-group {
    display: flex;
    flex-direction: column;
}

.profile-form-group label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-form-control {
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-input);
    transition: all var(--transition-fast);
}

.profile-form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(198, 164, 59, 0.15);
}

.profile-form-control:disabled {
    background: var(--bg-hover);
    color: var(--text-muted);
    cursor: not-allowed;
}

.profile-form-submit {
    text-align: center;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.profile-submit-btn {
    background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
    border: none;
    padding: 14px 40px;
    border-radius: 44px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 15px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.profile-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 164, 59, 0.4);
}

/* Адаптация */
@media (max-width: 800px) {
    .profile-form-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 500px) {
    .profile-form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-modal-body {
        padding: 20px;
    }
    
    .profile-modal-header {
        padding: 16px 20px;
    }
}

.swal2-container {
    z-index: 2000 !important;
}

.profile-modal {
    z-index: 1000;
}

.profile-modal-overlay {
    z-index: 1001;
}

.profile-modal-container {
    z-index: 1002;
}

/* Стили для отчета по платежам */
.payments-report-swal {
    border-radius: 20px !important;
    padding: 0 !important;
}

.swal2-html-container {
    padding: 20px 20px 20px 20px !important;
}

/* Стили для скроллбара */
.payments-report-swal .swal2-html-container::-webkit-scrollbar {
    width: 6px;
}

.payments-report-swal .swal2-html-container::-webkit-scrollbar-track {
    background: #E2E8F0;
    border-radius: 10px;
}

.payments-report-swal .swal2-html-container::-webkit-scrollbar-thumb {
    background: #C6A43B;
    border-radius: 10px;
}

/* Дополнительные стили для страницы заявки */
.application-status-header {
	text-align: center;
	margin-bottom: 40px;
	animation: fadeInUp 0.5s ease;
}

.user-name {
	font-size: 28px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 12px;
}

.status-badge {
	display: inline-block;
	padding: 8px 24px;
	border-radius: 40px;
	font-size: 14px;
	font-weight: 600;
}

.status-badge.success {
	background: var(--accent-green-light);
	color: var(--accent-green);
	border: 1px solid var(--accent-green);
}

/* Аккордеон */
.accordion-container {
	margin-bottom: 48px;
}

.accordion-item {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	margin-bottom: 16px;
	overflow: hidden;
	transition: all var(--transition-normal);
	box-shadow: var(--shadow-sm);
}

.accordion-item:hover {
	box-shadow: var(--shadow-md);
}

.accordion-header {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 24px;
	cursor: pointer;
	transition: background var(--transition-fast);
}

.accordion-header:hover {
	background: var(--bg-hover);
}

.accordion-icon {
	width: 44px;
	height: 44px;
	background: var(--gold-glow);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gold-primary);
	flex-shrink: 0;
}

.accordion-title {
	flex: 1;
}

.accordion-main-title {
	font-size: 16px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 4px;
}

.accordion-subtitle {
	font-size: 12px;
	color: var(--text-muted);
}

.status-text {
	font-weight: 600;
}

.status-text.paid, .status-text.active {
	color: var(--accent-green);
}

.status-text.unpaid, .status-text.completed {
	color: var(--accent-orange);
}

.accordion-arrow {
	color: var(--text-muted);
	transition: transform var(--transition-fast);
	flex-shrink: 0;
}

.accordion-item.open .accordion-arrow {
	transform: rotate(180deg);
}

.accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease;
	border-top: none;
}

.accordion-item.open .accordion-content {
	max-height: 800px;
	border-top: 1px solid var(--border-light);
}

.accordion-content > div {
	padding: 24px;
}

/* Инфо карточки */
.info-cards {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin-bottom: 28px;
}

.info-card {
	text-align: center;
	padding: 16px;
	background: var(--bg-hover);
	border-radius: var(--radius-md);
}

.info-card-label {
	font-size: 12px;
	color: var(--text-muted);
	margin-bottom: 8px;
}

.info-card-value {
	font-size: 20px;
	font-weight: 700;
	color: var(--gold-primary);
}

.documents-section {
	margin-top: 8px;
}

.documents-title {
	font-size: 14px;
	font-weight: 600;
	color: var(--text-primary);
	margin-bottom: 12px;
}

.payment-info, .subscription-info {
	font-size: 14px;
	color: var(--text-secondary);
	line-height: 1.6;
}

/* Офферы */
.offers-section {
	margin-top: 32px;
}

.offers-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
}

.offer-card-app {
	background: var(--bg-card);
	border: 1px solid var(--border-light);
	border-radius: var(--radius-lg);
	padding: 20px;
	text-align: center;
	transition: all var(--transition-normal);
}

.offer-card-app:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
	border-color: var(--gold-light);
}

.offer-logo-app {
	margin-bottom: 16px;
}

.offer-logo-app img {
	max-height: 50px;
	max-width: 120px;
}

.offer-title-app {
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 12px;
}

.offer-details-app {
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 16px;
}

.offer-percent-app {
	font-size: 24px;
	font-weight: 700;
	color: var(--gold-primary);
}

.loading-offers-app {
	text-align: center;
	padding: 40px;
	color: var(--text-muted);
}

.loading-offers-app .spinner {
	margin: 0 auto 16px;
}

/* Внимание в футере */
.footer-warning {
    background: linear-gradient(135deg, #FFF3E0 0%, #FFE8CC 100%);
    border-radius: var(--radius-lg);
    padding: 16px 24px;
    margin-bottom: 32px;
    border: 1px solid #FFD699;
}

.warning-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.warning-text {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #CC7B00;
}

.warning-icon {
    font-size: 20px;
}

.warning-btn {
    background: linear-gradient(135deg, #CC7B00, #A05A00);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 13px;
    color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.warning-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(204, 123, 0, 0.3);
}

/* Кнопка техподдержки */
.support-btn {
    background: transparent;
    border: 1px solid var(--border-light);
    padding: 10px 20px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.support-btn:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    background: var(--gold-glow);
}

/* Стили для формы техподдержки */
.support-form {
    text-align: left;
}

.support-form-group {
    margin-bottom: 16px;
}

.support-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.support-form-group label .required {
    color: #E53E3E;
}

.support-form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.support-form-control:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 0 3px rgba(198, 164, 59, 0.15);
}

.support-form-control.error {
    border-color: #E53E3E;
}

.support-form-textarea {
    resize: vertical;
    min-height: 100px;
}

.support-form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.support-form-checkbox input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    cursor: pointer;
}

.support-form-checkbox label {
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
}

.support-form-checkbox a {
    color: var(--gold-primary);
    text-decoration: none;
}

.support-form-checkbox a:hover {
    text-decoration: underline;
}

.error-message {
    font-size: 11px;
    color: #E53E3E;
    margin-top: 4px;
    display: block;
}


.faq-accordion{
	text-align:left;
	max-height:70vh;
	overflow-y:auto;
}

.faq-item{
	border-bottom:1px solid #e5e5e5;
}

.faq-question{
	padding:15px;
	cursor:pointer;
	font-weight:600;
	position:relative;
}

.faq-question:after{
	content:'+';
	position:absolute;
	right:15px;
	top:50%;
	transform:translateY(-50%);
	font-size:20px;
}

.faq-question.active:after{
	content:'−';
}

.faq-answer{
	display:none;
	padding:0 15px 15px;
	line-height:1.6;
	color:#555;
}