/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Цветовая палитра в зеленых тонах */
    --primary-green: #2E7D32;
    --secondary-green: #4CAF50;
    --dark-green: #1B5E20;
    --light-green: #66BB6A;
    --mint-green: #E8F5E8;
    --warm-white: #FFFEF7;
    --charcoal: #2C2C2C;
    --soft-gray: #F8F8F8;
    --text-dark: #1A1A1A;
    --text-light: #666666;
    
    /* Шрифты */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Размеры */
    --border-radius: 12px;
    --border-radius-small: 8px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23D4AF37' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--warm-white);
    max-width: 600px;
    padding: 0 20px;
}

.logo h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--primary-green);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.hero-text h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.6;
}

/* ===== FEATURES SECTION ===== */
.features {
    padding: 80px 0;
    background: var(--warm-white);
}

.features h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-green);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--warm-white);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--shadow);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h4 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-green);
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== HOW IT WORKS SECTION ===== */
.how-it-works {
    padding: 80px 0;
    background: var(--soft-gray);
}

.how-it-works h3 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--dark-green);
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 400px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--warm-white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    flex-shrink: 0;
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
}

.cta-content {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.cta h3 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: rgba(46, 125, 50, 0.1);
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-accent {
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    color: var(--warm-white);
    box-shadow: var(--shadow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary span:first-child {
    font-size: 0.9rem;
    opacity: 0.8;
}

.btn-secondary span:last-child {
    font-weight: 600;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--charcoal);
    color: var(--warm-white);
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-info h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.footer-info p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: var(--warm-white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--primary-green);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    opacity: 0.6;
}

/* ===== ФОРМЫ ===== */
.form {
    background: var(--warm-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    max-width: 400px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

/* ===== АВТОРИЗАЦИЯ ===== */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
}

.auth-form {
    background: var(--warm-white);
    padding: 40px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--dark-green);
    margin-bottom: 10px;
}

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

.auth-tabs {
    display: flex;
    margin-bottom: 30px;
    border-radius: var(--border-radius-small);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-button {
    flex: 1;
    padding: 14px 20px;
    background: var(--soft-gray);
    border: none;
    color: var(--text-light);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-button.active {
    background: var(--primary-green);
    color: var(--warm-white);
}

.tab-button:hover:not(.active) {
    background: rgba(46, 125, 50, 0.1);
    color: var(--dark-green);
}

.auth-tab-content {
    display: none;
}

.auth-tab-content.active {
    display: block;
}

/* ===== ЧЕКБОКСЫ ===== */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    padding: 5px 0;
}

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

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-green);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-green);
    border-color: var(--primary-green);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid var(--warm-white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* ===== TELEGRAM ИНСТРУКЦИИ ===== */
.telegram-instructions {
    background: var(--warm-white);
    color: var(--text-dark);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(46, 125, 50, 0.2);
}

/* Современные инструкции для страницы входа - теперь светлые */
.modern-instructions {
    /* Наследует стили от .telegram-instructions */
}

.instruction-header-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.main-icon {
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.instruction-header-main h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-green);
}

.instruction-steps-main {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modern-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 18px;
    background: var(--mint-green);
    border-radius: var(--border-radius-small);
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
    animation-delay: calc(var(--delay) * 0.1s);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.modern-step:nth-child(1) { --delay: 0; }
.modern-step:nth-child(2) { --delay: 1; }
.modern-step:nth-child(3) { --delay: 2; }
.modern-step:nth-child(4) { --delay: 3; }

.modern-step:hover {
    background: var(--warm-white);
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.2);
    border-color: var(--secondary-green);
}

.modern-number {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark-green);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: bold;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 8px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.step-content strong {
    color: var(--primary-green);
    font-weight: 600;
}

.telegram-instructions-compact {
    margin-top: 15px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(46, 125, 50, 0.15), rgba(76, 175, 80, 0.1));
    border-radius: var(--border-radius);
    border: 2px solid var(--primary-green);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.telegram-instructions-compact:hover {
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.instruction-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 1rem;
    color: var(--dark-green);
    font-weight: 600;
}

.instruction-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.instruction-step-mini {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-green);
    border: 1px solid rgba(46, 125, 50, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.instruction-step-mini:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
}

.step-icon {
    font-size: 1rem;
    flex-shrink: 0;
}

.instruction-step-mini span:last-child {
    color: var(--text-dark);
    font-weight: 500;
}

.telegram-instructions-compact a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dotted var(--primary-green);
    transition: all 0.3s ease;
}

.telegram-instructions-compact a:hover {
    color: var(--dark-green);
    border-bottom-style: solid;
    background: rgba(46, 125, 50, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
}

.telegram-instructions h3 {
    font-family: var(--font-heading);
    margin: 0 0 20px 0;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
}

.instruction-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    backdrop-filter: blur(10px);
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    flex-shrink: 0;
}

.instruction-step p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.4;
}

.instruction-step strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* ===== КНОПКА TELEGRAM НА РЕГИСТРАЦИИ ===== */
.btn-telegram {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #0088cc, #0099dd);
    color: var(--warm-white);
    border: 2px solid rgba(255, 255, 255, 0.2);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #006699, #0088cc);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-sm {
    padding: 12px 20px;
    font-size: 0.9rem;
    white-space: nowrap;
    min-width: auto;
}

.btn-sm:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ===== УВЕДОМЛЕНИЯ ===== */
.notification {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 16px 24px;
    border-radius: var(--border-radius-small);
    color: var(--warm-white);
    font-weight: 500;
    z-index: 1000;
    max-width: 90%;
    text-align: center;
    box-shadow: var(--shadow);
}

.notification.success {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
}

.notification.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

/* ===== ЗАГРУЗКА ===== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
    
    .steps {
        max-width: 600px;
    }
    
    .cta-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    
    .footer-links {
        flex-direction: row;
        gap: 30px;
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
    }
    
    .logo h1 {
        font-size: 4.5rem;
    }
    
    .hero-text h2 {
        font-size: 2.8rem;
    }
}

/* ===== УТИЛИТЫ ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }

.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }

.hidden { display: none; }
.visible { display: block; }

/* ===== СЕКЦИЯ ПРЕИМУЩЕСТВ НА РЕГИСТРАЦИИ ===== */
.benefits-section {
    margin-top: 30px;
    padding: 25px;
    background: var(--soft-gray);
    border-radius: var(--border-radius);
}

.benefits-section h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 20px;
    text-align: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.benefit-item:last-child {
    border-bottom: none;
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.benefit-item span:last-child {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* ===== УЛУЧШЕНИЯ ДЛЯ МОБИЛЬНЫХ ===== */
@media (max-width: 480px) {
    .auth-form {
        padding: 30px 20px;
        margin: 10px;
        max-width: 100%;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .logo h1 {
        font-size: 2.8rem;
    }
    
    .hero-text h2 {
        font-size: 1.8rem;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .how-it-works {
        padding: 60px 0;
    }
    
    .cta {
        padding: 60px 0;
    }
    
    .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
        min-width: 100%;
    }
    
    .form-actions {
        gap: 10px;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    /* Улучшения для вкладок авторизации */
    .auth-tabs {
        margin-bottom: 20px;
    }
    
    .tab-button {
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* Telegram инструкции на мобильных */
    .telegram-instructions {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .instruction-step {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .instruction-step p {
        font-size: 0.95rem;
    }
    
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.9rem;
        margin-right: 10px;
    }
    
    /* Форма ввода кода */
    #codeForm h3 {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
}

/* ===== СТИЛИ ДЛЯ БАРИСТА ===== */

/* Инструкции для бариста */
.barista-instructions {
    background: var(--warm-white);
    color: var(--text-dark);
    padding: 25px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    border: 2px solid rgba(46, 125, 50, 0.2);
}

/* Быстрые инструкции */
.barista-quick-guide {
    background: linear-gradient(135deg, var(--mint-green), rgba(76, 175, 80, 0.1));
    border: 2px solid var(--primary-green);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.guide-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.guide-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.guide-header h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0;
    font-size: 1.2rem;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--border-radius-small);
    border-left: 4px solid var(--primary-green);
    transition: all 0.3s ease;
}

.quick-action:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(5px);
}

.action-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.quick-action span:last-child {
    color: var(--text-dark);
    font-size: 0.95rem;
}

/* Современные карточки dashboard */
.dashboard-section {
    margin: 40px 0;
}

.dashboard-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.dashboard-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.modern-card {
    background: var(--warm-white);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius);
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
    position: relative;
}

.modern-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-green);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.modern-card:hover::before {
    transform: scaleY(1);
}

.modern-card:hover {
    border-color: var(--primary-green);
    background: var(--mint-green);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.15);
}

.option-icon {
    font-size: 2.5rem;
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    flex-shrink: 0;
}

.option-content {
    flex: 1;
    padding: 25px 0;
}

.option-content h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin: 0 0 8px 0;
}

.option-content p {
    color: var(--text-light);
    margin: 0 0 10px 0;
    font-size: 0.95rem;
    line-height: 1.4;
}

.option-badge {
    display: inline-block;
    background: var(--primary-green);
    color: var(--warm-white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.option-arrow {
    font-size: 1.5rem;
    color: var(--primary-green);
    padding: 25px;
    transition: transform 0.3s ease;
}

.modern-card:hover .option-arrow {
    transform: translateX(5px);
}

/* Старые стили для совместимости */
.dashboard-option {
    background: var(--warm-white);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius);
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.dashboard-option:hover {
    border-color: var(--primary-green);
    background: rgba(46, 125, 50, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.dashboard-option h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin: 0 0 10px 0;
}

.dashboard-option p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* Улучшенные особенности бариста */
.barista-features {
    margin-top: 40px;
}

.barista-features h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    font-size: 1.4rem;
    margin-bottom: 25px;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.barista-form {
    margin: 30px 0;
}

.order-section {
    margin: 40px 0;
}

.order-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 500px;
    margin: 0 auto 40px;
}

.order-option {
    background: var(--warm-white);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius);
    padding: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.order-option:hover {
    border-color: var(--primary-green);
    background: rgba(46, 125, 50, 0.05);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.order-option h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--dark-green);
    margin: 0 0 10px 0;
}

.order-option p {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

.order-form {
    background: var(--warm-white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 30px auto;
    max-width: 600px;
}

.order-form h2 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 25px 0;
    text-align: center;
}

.client-info, .order-details, .refund-info {
    background: var(--soft-gray);
    padding: 20px;
    border-radius: var(--border-radius-small);
    margin: 20px 0;
}

.client-info h3, .order-details h3, .refund-info h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
}

.client-details, .order-details-info {
    margin-bottom: 15px;
}

.client-details p, .order-details-info p {
    margin: 5px 0;
    color: var(--text-dark);
}

.bonus-actions {
    margin: 25px 0;
}

.bonus-actions h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
}

.bonus-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.bonus-buttons .btn.active {
    background: var(--primary-green);
    color: var(--warm-white);
    border-color: var(--primary-green);
}

.info-section {
    background: var(--soft-gray);
    padding: 30px;
    border-radius: var(--border-radius);
    margin: 30px 0;
    max-width: 500px;
    margin: 30px auto;
}

.info-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 20px 0;
    text-align: center;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.features-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
    color: var(--text-dark);
}

.features-list li:last-child {
    border-bottom: none;
}

.form-container {
    max-width: 400px;
    margin: 0 auto;
}

.actions-section {
    text-align: center;
    margin: 40px 0;
}

/* Стили для header и footer страниц бариста */
.header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    margin-bottom: 30px;
}

.header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.main-content {
    min-height: calc(100vh - 200px);
    padding: 0 20px;
}

.footer {
    background: var(--charcoal);
    color: var(--warm-white);
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.footer p {
    margin: 0;
    opacity: 0.8;
}

/* Адаптивность для страниц бариста */
@media (min-width: 768px) {
    .dashboard-menu {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 900px;
    }
    
    .quick-actions {
        flex-direction: row;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    
    .quick-action {
        flex: 1;
        max-width: 300px;
        margin: 5px;
    }
    
    .order-options {
        grid-template-columns: repeat(2, 1fr);
        max-width: 600px;
    }
    
    .bonus-buttons {
        justify-content: flex-start;
    }
}

@media (min-width: 1024px) {
    .dashboard-menu {
        grid-template-columns: repeat(2, 1fr);
        max-width: 1000px;
    }
    
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 1200px;
    }
}

@media (max-width: 480px) {
    .dashboard-option, .order-option {
        padding: 20px 15px;
    }
    
    .dashboard-option h3, .order-option h3 {
        font-size: 1.2rem;
    }
    
    .modern-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .option-icon {
        width: 100%;
        padding: 20px;
        font-size: 2rem;
    }
    
    .option-content {
        padding: 15px 20px;
    }
    
    .option-arrow {
        padding: 15px;
        transform: rotate(90deg);
    }
    
    .barista-quick-guide {
        padding: 15px;
    }
    
    .quick-actions {
        gap: 8px;
    }
    
    .quick-action {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .action-icon {
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 15px;
    }
    
    .feature-card {
        padding: 20px 15px;
    }
    
    .barista-instructions {
        padding: 20px;
    }
    
    .order-form {
        padding: 20px 15px;
        margin: 20px 10px;
    }
    
    .bonus-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .client-info, .order-details, .refund-info {
        padding: 15px;
    }
}

/* ===== СТРАНИЦА ЛОГИНА БАРИСТА ===== */
.barista-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.barista-login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.barista-login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.barista-login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
}

.barista-login-form-wrapper {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.barista-login-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    text-align: center;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
}

.barista-login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.barista-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 2;
}

.barista-login-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.barista-login-header p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

.barista-login-form {
    padding: 40px 30px;
    background: var(--warm-white);
}

.barista-login-form .form-group {
    margin-bottom: 25px;
}

.barista-login-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.barista-login-form .form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.barista-login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.barista-login-form .form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.barista-login-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.barista-login-form .btn {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
}

.barista-login-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    border: none;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.barista-login-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.barista-login-form .btn-outline {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.barista-login-form .btn-outline:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Адаптивность для страницы логина бариста */
@media (max-width: 480px) {
    .barista-login-page {
        padding: 15px;
    }
    
    .barista-login-container {
        max-width: 100%;
    }
    
    .barista-login-form-wrapper {
        border-radius: var(--border-radius-small);
    }
    
    .barista-login-header {
        padding: 30px 20px;
    }
    
    .barista-login-header h1 {
        font-size: 1.6rem;
    }
    
    .barista-login-form {
        padding: 30px 20px;
    }
    
    .barista-login-form .form-group input {
        padding: 14px 16px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .barista-login-form .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* ===== ПАНЕЛЬ УПРАВЛЕНИЯ БАРИСТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.barista-dashboard-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.barista-dashboard-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.barista-dashboard-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.barista-dashboard-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

.barista-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px 0;
}

.barista-dashboard-header h1 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.barista-dashboard-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    flex: 1;
    align-content: start;
    max-width: 100%;
}

.barista-action-btn {
    background: var(--warm-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.barista-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.barista-action-btn:hover::before {
    opacity: 0.1;
}

.barista-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.barista-action-btn:active {
    transform: translateY(-1px);
}

.barista-action-btn .action-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.barista-action-btn:hover .action-icon {
    transform: scale(1.1);
}

.barista-action-btn .action-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.barista-action-btn.logout-btn {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.barista-action-btn.logout-btn .action-text {
    color: #dc3545;
}

.barista-action-btn.logout-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.barista-action-btn.logout-btn:hover .action-text {
    color: var(--warm-white);
}

.barista-action-btn.logout-btn:hover .action-icon {
    color: var(--warm-white);
}

/* Адаптивность для панели бариста */
@media (max-width: 480px) {
    .barista-dashboard-page {
        padding: 15px;
    }
    
    .barista-dashboard-header h1 {
        font-size: 1.8rem;
    }
    
    .barista-dashboard-actions {
        gap: 12px;
    }
    
    .barista-action-btn {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .barista-action-btn .action-icon {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .barista-action-btn .action-text {
        font-size: 0.8rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .barista-dashboard-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .barista-action-btn {
        min-height: 110px;
    }
    
    .barista-action-btn .action-icon {
        font-size: 2.2rem;
    }
    
    .barista-action-btn .action-text {
        font-size: 0.85rem;
    }
}

@media (min-width: 769px) {
    .barista-dashboard-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .barista-action-btn {
        min-height: 120px;
        padding: 25px 20px;
    }
    
    .barista-action-btn .action-icon {
        font-size: 2.8rem;
        margin-bottom: 10px;
    }
    
    .barista-action-btn .action-text {
        font-size: 1rem;
    }
}

/* ===== СТРАНИЦА ОБРАБОТКИ ЗАКАЗОВ - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.barista-process-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.barista-process-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.barista-process-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.barista-process-container {
    position: relative;
    z-index: 2;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
}

.barista-process-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.barista-process-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.back-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    padding: 10px 15px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.barista-process-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 30px;
}

.barista-form-container {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    margin-top: 20px;
}

.barista-form-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.barista-form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
}

.barista-form {
    padding: 25px;
}

.barista-form .form-group {
    margin-bottom: 20px;
}

.barista-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.barista-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.barista-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.client-info, .order-details, .refund-info {
    background: var(--soft-gray);
    padding: 20px;
    border-radius: var(--border-radius-small);
    margin: 20px 0;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.client-info h3, .order-details h3, .refund-info h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.client-details, .order-details-info {
    margin-bottom: 15px;
}

.client-details p, .order-details-info p {
    margin: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.bonus-actions {
    margin: 25px 0;
}

.bonus-actions h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.bonus-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.bonus-buttons .btn {
    flex: 1;
    padding: 12px 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.bonus-buttons .btn.active {
    background: var(--primary-green);
    color: var(--warm-white);
    border-color: var(--primary-green);
}

.form-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.barista-form .btn {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: none;
    cursor: pointer;
}

.barista-form .btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.barista-form .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(46, 125, 50, 0.4);
}

.barista-form .btn-accent {
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    color: var(--warm-white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.barista-form .btn-secondary {
    background: rgba(46, 125, 50, 0.1);
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.barista-form .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Адаптивность для страницы обработки заказов */
@media (max-width: 480px) {
    .barista-process-page {
        padding: 15px;
    }
    
    .barista-process-header h1 {
        font-size: 1.5rem;
    }
    
    .barista-process-actions {
        gap: 12px;
    }
    
    .barista-form {
        padding: 20px;
    }
    
    .barista-form-header {
        padding: 15px 20px;
    }
    
    .barista-form-header h2 {
        font-size: 1.2rem;
    }
    
    .barista-form .form-group input {
        padding: 12px 14px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .barista-form .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .bonus-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .client-info, .order-details, .refund-info {
        padding: 15px;
    }
}

/* ===== МОДАЛЬНЫЕ ОКНА БАРИСТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.modal-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    position: relative;
    overflow: hidden;
}

.modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin: 0;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--warm-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 25px;
}

/* Формы в модальных окнах */
.notification-form, .gift-form, .spend-gift-form, .gift-selection-form, .history-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification-form .form-group, .gift-form .form-group, .spend-gift-form .form-group {
    margin-bottom: 0;
}

.notification-form label, .gift-form label, .spend-gift-form label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.notification-form input, .notification-form textarea,
.gift-form input, .spend-gift-form input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.notification-form input:focus, .notification-form textarea:focus,
.gift-form input:focus, .spend-gift-form input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.notification-form textarea {
    resize: vertical;
    min-height: 100px;
    font-family: var(--font-body);
}

/* Кнопки выбора типа */
.notification-types, .search-types, .gift-buttons {
    display: flex;
    gap: 12px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.notification-types .btn, .search-types .btn, .gift-buttons .btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
    min-height: 48px;
}

.notification-types .btn.active, .search-types .btn.active {
    background: var(--primary-green);
    color: var(--warm-white);
    border-color: var(--primary-green);
}

/* Информация о пользователе */
.user-info {
    background: var(--soft-gray);
    padding: 20px;
    border-radius: var(--border-radius-small);
    margin: 20px 0;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.user-info h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.1rem;
}

.user-info p {
    margin: 8px 0;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.user-info strong {
    color: var(--primary-green);
    font-weight: 600;
}

/* История операций */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    background: var(--soft-gray);
    padding: 15px;
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.operation-type {
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.9rem;
}

.operation-date {
    color: var(--text-light);
    font-size: 0.85rem;
}

.history-details {
    color: var(--text-dark);
    font-size: 0.9rem;
    line-height: 1.4;
}

.no-gifts {
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 20px;
    background: rgba(46, 125, 50, 0.05);
    border-radius: var(--border-radius-small);
}

/* Кнопки действий в модальных окнах */
.modal .form-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.modal .btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.modal .btn-primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.modal .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.4);
}

.modal .btn-secondary {
    background: rgba(46, 125, 50, 0.1);
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.modal .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.modal .btn-accent {
    background: linear-gradient(135deg, var(--secondary-green), var(--light-green));
    color: var(--warm-white);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.modal .btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 125, 50, 0.3);
}

.modal .btn-outline {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.modal .btn-outline:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Адаптивность для модальных окон */
@media (max-width: 480px) {
    .modal {
        padding: 10px;
    }
    
    .modal-overlay {
        padding: 10px;
    }
    
    .modal-content {
        max-width: 100%;
        max-height: 95vh;
    }
    
    .modal-header {
        padding: 15px 20px;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .notification-types, .search-types, .gift-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .notification-types .btn, .search-types .btn, .gift-buttons .btn {
        min-width: auto;
        width: 100%;
    }
    
    .modal .form-actions {
        gap: 10px;
    }
    
    .modal .btn {
        padding: 12px 16px;
        font-size: 0.9rem;
        min-height: 44px;
    }
    
    .user-info {
        padding: 15px;
    }
    
    .history-item {
        padding: 12px;
    }
    
    .history-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .modal-content {
        max-width: 450px;
    }
    
    .notification-types, .search-types {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .notification-types .btn, .search-types .btn {
        flex: 1;
        min-width: 140px;
    }
}

/* ===== СТРАНИЦА ЛОГИНА КЛИЕНТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.client-login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.client-login-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.client-login-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.client-login-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
    min-height: auto;
}

.client-login-form-wrapper {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.client-login-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    text-align: center;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
}

.client-login-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.client-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    animation: bounce 2s infinite;
    position: relative;
    z-index: 2;
}

.client-login-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.client-login-header p {
    font-size: 0.95rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 2;
}

.client-login-form {
    padding: 30px 25px;
    background: var(--warm-white);
}

.client-login-form .form-group {
    margin-bottom: 20px;
}

.client-login-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.client-login-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.client-login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.client-login-form .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.client-login-form .form-actions {
    margin-top: 25px;
}

.client-login-form .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: none;
    cursor: pointer;
}

.client-login-footer {
    padding: 20px 25px;
    background: var(--soft-gray);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.client-login-footer .btn {
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: none;
    cursor: pointer;
}

.client-login-footer .btn-outline {
    background: transparent;
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.client-login-footer .btn-outline:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.client-login-footer .btn-secondary {
    background: rgba(46, 125, 50, 0.1);
    color: var(--dark-green);
    border: 2px solid var(--primary-green);
    font-weight: 600;
}

.client-login-footer .btn-secondary:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* ===== СТРАНИЦА ГЕНЕРАЦИИ КОДА КЛИЕНТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.client-generate-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.client-generate-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.client-generate-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.client-generate-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

.client-generate-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.client-generate-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.client-generate-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.code-container {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.code-display {
    text-align: center;
    padding: 30px 25px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.code-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.code-display > * {
    position: relative;
    z-index: 2;
}

.code-display h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.code-number {
    font-family: 'Courier New', monospace;
    font-size: 3rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.8);
    margin-bottom: 15px;
    letter-spacing: 6px;
    animation: codeGlow 2s ease-in-out infinite alternate;
    text-align: center;
    padding: 15px;
    border: 3px dashed rgba(255, 215, 0, 0.8);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.3);
}

.code-timer {
    font-size: 1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-green);
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.code-instructions {
    padding: 25px;
    background: var(--mint-green);
    text-align: center;
}

.code-instructions h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--dark-green);
    margin-bottom: 12px;
    font-weight: 600;
}

.code-instructions p {
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.code-instructions strong {
    color: var(--primary-green);
    font-weight: 600;
}

.code-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.code-actions .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: none;
    cursor: pointer;
    min-width: 200px;
}

.balance-section {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.balance-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.balance-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.balance-label {
    color: var(--text-light);
    font-weight: 500;
}

.balance-amount {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Инструкции в модальном окне */
.telegram-instructions {
    margin-bottom: 25px;
}

.instruction-steps {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.step-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.step-content strong {
    color: var(--primary-green);
    font-weight: 600;
}

.telegram-login-form {
    background: var(--soft-gray);
    padding: 20px;
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.telegram-login-form h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.1rem;
    text-align: center;
}

.telegram-login-form .form-group {
    margin-bottom: 15px;
}

.telegram-login-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.telegram-login-form .form-group input {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.telegram-login-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.telegram-login-form .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.telegram-login-form .form-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.telegram-login-form .btn {
    padding: 12px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    border: none;
    cursor: pointer;
}

/* Адаптивность для страниц клиента */
@media (max-width: 480px) {
    .client-login-page, .client-generate-page {
        padding: 15px;
    }
    
    .client-login-container, .client-generate-container {
        max-width: 100%;
    }
    
    .client-login-form-wrapper, .code-container, .balance-section {
        border-radius: var(--border-radius-small);
    }
    
    .client-login-header, .code-display {
        padding: 25px 20px;
    }
    
    .client-login-header h1, .client-generate-header h1 {
        font-size: 1.5rem;
    }
    
    .client-login-form, .code-instructions {
        padding: 20px;
    }
    
    .client-login-form .form-group input, .telegram-login-form .form-group input {
        padding: 12px 14px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .client-login-form .btn, .code-actions .btn, .telegram-login-form .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .code-number {
        font-size: 2.5rem;
        letter-spacing: 4px;
        padding: 12px;
    }
    
    .client-login-footer {
        padding: 15px 20px;
    }
    
    .instruction-step {
        padding: 12px;
        gap: 12px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }
    
    .telegram-login-form {
        padding: 15px;
    }
}

/* ===== СТРАНИЦА ПРОФИЛЯ КЛИЕНТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.client-profile-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.client-profile-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.client-profile-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.client-profile-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
}

.client-profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 20px 0;
}

.client-profile-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.client-profile-actions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.client-action-btn {
    background: var(--warm-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 20px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.client-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-action-btn:hover::before {
    opacity: 0.1;
}

.client-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.client-action-btn:active {
    transform: translateY(-1px);
}

.client-action-btn .action-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.client-action-btn:hover .action-icon {
    transform: scale(1.1);
}

.client-action-btn .action-text {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.client-action-btn.logout-btn {
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.client-action-btn.logout-btn .action-text {
    color: #dc3545;
}

.client-action-btn.logout-btn:hover {
    background: #dc3545;
    border-color: #dc3545;
}

.client-action-btn.logout-btn:hover .action-text {
    color: var(--warm-white);
}

.client-action-btn.logout-btn:hover .action-icon {
    color: var(--warm-white);
}

.client-profile-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-info-card, .loyalty-info-card, .stats-info-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-info-card h2, .loyalty-info-card h2, .stats-info-card h2 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.profile-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.detail-value {
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.loyalty-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.loyalty-level, .balance-display, .spent-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.level-label, .balance-label, .spent-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.level-badge {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: var(--dark-green);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-amount {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.1rem;
}

.spent-amount {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: var(--mint-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.stat-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

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

.stat-value {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

/* Обновленные стили для страницы генерации кода */
.client-generate-page .code-container {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.client-generate-page .code-display {
    text-align: center;
    padding: 40px 25px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.client-generate-page .code-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.client-generate-page .code-display > * {
    position: relative;
    z-index: 2;
}

.client-generate-page .code-display h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.client-generate-page .code-number {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.9);
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: codeGlow 2s ease-in-out infinite alternate;
    text-align: center;
    padding: 25px 20px;
    border: 4px dashed rgba(255, 215, 0, 0.9);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    box-shadow: 
        inset 0 0 40px rgba(255, 215, 0, 0.3), 
        0 0 30px rgba(255, 215, 0, 0.4),
        0 0 60px rgba(255, 215, 0, 0.2);
}

.client-generate-page .code-timer {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.95);
    color: var(--dark-green);
    padding: 12px 20px;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-shadow: none;
}

.client-generate-page .code-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.client-generate-page .code-actions .btn {
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    border: none;
    cursor: pointer;
    min-width: 220px;
}

.client-generate-page .balance-section {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.client-generate-page .balance-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.client-generate-page .balance-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.client-generate-page .balance-label {
    color: var(--text-light);
    font-weight: 500;
}

.client-generate-page .balance-amount {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Адаптивность для страниц клиента */
@media (max-width: 480px) {
    .client-profile-page, .client-generate-page {
        padding: 15px;
    }
    
    .client-profile-container, .client-generate-container {
        max-width: 100%;
    }
    
    .client-profile-actions {
        gap: 12px;
    }
    
    .client-action-btn {
        padding: 15px 10px;
        min-height: 90px;
    }
    
    .client-action-btn .action-icon {
        font-size: 2rem;
        margin-bottom: 6px;
    }
    
    .client-action-btn .action-text {
        font-size: 0.8rem;
    }
    
    .profile-info-card, .loyalty-info-card, .stats-info-card {
        padding: 15px;
    }
    
    .stats-grid {
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px;
        gap: 10px;
    }
    
    .stat-icon {
        font-size: 1.5rem;
    }
    
    .client-generate-page .code-display {
        padding: 30px 20px;
    }
    
    .client-generate-page .code-display h2 {
        font-size: 1.2rem;
    }
    
    .client-generate-page .code-number {
        font-size: 3rem;
        letter-spacing: 6px;
        padding: 20px 15px;
    }
    
    .client-generate-page .code-actions .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        min-width: 200px;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .client-profile-actions {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .client-action-btn {
        min-height: 110px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ===== СТРАНИЦА ОБРАТНОЙ СВЯЗИ КЛИЕНТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.client-feedback-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.client-feedback-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.client-feedback-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.client-feedback-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
}

.client-feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.client-feedback-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.client-feedback-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.client-feedback-btn {
    background: var(--warm-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 25px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.client-feedback-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.client-feedback-btn:hover::before {
    opacity: 0.1;
}

.client-feedback-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.client-feedback-btn:active {
    transform: translateY(-1px);
}

.client-feedback-btn .action-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.client-feedback-btn:hover .action-icon {
    transform: scale(1.1);
}

.client-feedback-btn .action-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    text-align: center;
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.client-feedback-form {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.form-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.form-header > * {
    position: relative;
    z-index: 2;
}

.form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.back-to-options {
    background: rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-small);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-options:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.client-feedback-form form {
    padding: 25px;
}

.rating-section {
    margin-bottom: 25px;
}

.rating-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 600;
}

.rating-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.rating-btn {
    background: var(--soft-gray);
    color: var(--text-dark);
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    padding: 12px 16px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    text-align: center;
}

.rating-btn:hover {
    background: var(--mint-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

.rating-btn.selected {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    border-color: var(--primary-green);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.client-feedback-form .form-group {
    margin-bottom: 20px;
}

.client-feedback-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.client-feedback-form .form-group input,
.client-feedback-form .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    resize: vertical;
}

.client-feedback-form .form-group input:focus,
.client-feedback-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.client-feedback-form .form-group textarea {
    min-height: 120px;
    line-height: 1.5;
}

.client-feedback-form .form-actions {
    margin-top: 25px;
}

.client-feedback-form .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: none;
    cursor: pointer;
}

/* Адаптивность для страницы обратной связи */
@media (max-width: 480px) {
    .client-feedback-page {
        padding: 15px;
    }
    
    .client-feedback-container {
        max-width: 100%;
    }
    
    .client-feedback-actions {
        gap: 12px;
    }
    
    .client-feedback-btn {
        padding: 20px 15px;
        min-height: 100px;
    }
    
    .client-feedback-btn .action-icon {
        font-size: 2.5rem;
        margin-bottom: 8px;
    }
    
    .client-feedback-btn .action-text {
        font-size: 1rem;
    }
    
    .form-header {
        padding: 15px 20px;
    }
    
    .form-header h2 {
        font-size: 1.1rem;
    }
    
    .back-to-options {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
    
    .client-feedback-form form {
        padding: 20px;
    }
    
    .rating-buttons {
        gap: 6px;
    }
    
    .rating-btn {
        padding: 10px 12px;
        font-size: 0.9rem;
        min-width: 45px;
    }
    
    .client-feedback-form .form-group input,
    .client-feedback-form .form-group textarea {
        padding: 12px 14px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .client-feedback-form .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .client-feedback-btn {
        min-height: 130px;
    }
    
    .client-feedback-btn .action-icon {
        font-size: 3.5rem;
    }
    
    .client-feedback-btn .action-text {
        font-size: 1.2rem;
    }
}

/* ===== СТРАНИЦА РЕГИСТРАЦИИ КЛИЕНТА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.client-register-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.client-register-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.client-register-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.client-register-container {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
}

.client-register-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    text-align: center;
    padding: 30px 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

.client-register-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.client-register-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin: 0 0 8px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    font-weight: 600;
}

.client-register-header .back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    z-index: 3;
}

.client-register-header .back-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.register-step {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-step.active {
    display: flex;
}

.telegram-instructions-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 0;
    color: var(--warm-white);
}

.instruction-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 0;
}


.telegram-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.instruction-header h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 8px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.instruction-header p {
    font-size: 1rem;
    color: var(--text-dark);
    margin: 0;
    opacity: 0.8;
}

.instruction-steps {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 25px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.instruction-step:hover {
    background: rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.step-number {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.step-content h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: var(--warm-white);
    font-weight: 600;
}

.step-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--warm-white);
}

.step-content strong {
    color: #FFD700;
    font-weight: 600;
}

.telegram-actions {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-telegram {
    background: linear-gradient(135deg, #0088cc, #0066aa);
    color: var(--warm-white);
    border: none;
    border-radius: var(--border-radius-small);
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
}

.btn-telegram:hover {
    background: linear-gradient(135deg, #0066aa, #004488);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.btn-icon {
    font-size: 1.2rem;
}

.register-form-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.register-form-card .form-header {
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.register-form-card .form-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.register-form-card .form-header > * {
    position: relative;
    z-index: 2;
}

.register-form-card .form-header h2 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    font-weight: 600;
}

.back-to-step1 {
    background: rgba(255, 255, 255, 0.2);
    color: var(--warm-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-small);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-to-step1:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.register-form {
    padding: 25px;
}

.register-form .form-group {
    margin-bottom: 20px;
}

.register-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-green);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.register-form .form-group input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid rgba(46, 125, 50, 0.2);
    border-radius: var(--border-radius-small);
    font-size: 1rem;
    font-family: var(--font-body);
    background: var(--warm-white);
    color: var(--text-dark);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.register-form .form-group input:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1), 0 4px 20px rgba(46, 125, 50, 0.1);
    transform: translateY(-2px);
}

.register-form .form-group small {
    display: block;
    margin-top: 6px;
    color: var(--text-light);
    font-size: 0.85rem;
    font-style: italic;
}

.register-form .form-actions {
    margin-top: 25px;
}

.register-form .btn {
    width: 100%;
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: none;
    cursor: pointer;
}

.benefits-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
}

.benefits-card h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: var(--mint-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.benefit-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.2;
}

.login-link {
    text-align: center;
}

.login-link .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    border: 2px solid var(--primary-green);
    background: transparent;
    color: var(--dark-green);
}

.login-link .btn:hover {
    background: var(--primary-green);
    color: var(--warm-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.2);
}

/* Адаптивность для страницы регистрации */
@media (max-width: 480px) {
    .client-register-page {
        padding: 15px;
    }
    
    .client-register-container {
        max-width: 100%;
    }
    
    .instruction-header {
        padding: 25px 20px;
    }
    
    .instruction-header h2 {
        font-size: 1.3rem;
    }
    
    .telegram-icon {
        font-size: 2.5rem;
    }
    
    .instruction-steps {
        padding: 20px;
        gap: 15px;
    }
    
    .instruction-step {
        padding: 15px;
        gap: 12px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
    }
    
    .step-content p {
        font-size: 0.9rem;
    }
    
    .telegram-actions {
        padding: 20px;
    }
    
    .register-form {
        padding: 20px;
    }
    
    .register-form .form-group input {
        padding: 12px 14px;
        font-size: 16px; /* Предотвращает зум на iOS */
    }
    
    .register-form .btn, .btn-telegram {
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .benefits-card {
        padding: 15px;
    }
    
    .benefits-grid {
        gap: 12px;
    }
    
    .benefit-item {
        padding: 12px;
    }
    
    .benefit-icon {
        font-size: 1.8rem;
    }
    
    .benefit-text {
        font-size: 0.85rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .instruction-step {
        padding: 25px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

/* ===== ГЛАВНАЯ СТРАНИЦА - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.main-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    padding-top: 40px;
}

.main-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.main-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.main-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 450px;
    text-align: center;
}

.main-header {
    margin-bottom: 40px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}

.logo-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

.main-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--warm-white);
    margin: 0 0 10px 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.main-subtitle {
    font-size: 1.2rem;
    color: var(--warm-white);
    opacity: 0.9;
    margin: 0;
    font-weight: 500;
}

.main-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
}

.main-action-btn {
    background: var(--warm-white);
    border: none;
    border-radius: var(--border-radius);
    padding: 20px 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.main-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-action-btn:hover::before {
    opacity: 0.1;
}

.main-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.main-action-btn:active {
    transform: translateY(-1px);
}

.main-action-btn .btn-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.main-action-btn:hover .btn-icon {
    transform: scale(1.1);
}

.main-action-btn .btn-text {
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-green);
    position: relative;
    z-index: 2;
    line-height: 1.2;
}

.main-action-btn.primary {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
}

.main-action-btn.primary .btn-text {
    color: var(--warm-white);
}

.main-action-btn.secondary {
    background: var(--warm-white);
    border: 2px solid var(--primary-green);
}

.main-action-btn.outline {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--warm-white);
}

.main-action-btn.outline .btn-text {
    color: var(--warm-white);
}

.main-action-btn.outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--warm-white);
}

.main-features {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius-small);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    min-width: 100px;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.feature-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--warm-white);
    line-height: 1.2;
}

/* Адаптивность для главной страницы */
@media (max-width: 480px) {
    .main-page {
        padding: 15px;
    }
    
    .main-container {
        max-width: 100%;
    }
    
    .logo-icon {
        font-size: 3.5rem;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .main-subtitle {
        font-size: 1.1rem;
    }
    
    .main-actions {
        gap: 12px;
        margin-bottom: 30px;
    }
    
    .main-action-btn {
        padding: 18px 20px;
        min-height: 70px;
    }
    
    .main-action-btn .btn-icon {
        font-size: 2.2rem;
        margin-bottom: 6px;
    }
    
    .main-action-btn .btn-text {
        font-size: 1rem;
    }
    
    .main-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 12px;
        min-width: 80px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
    }
    
    .feature-text {
        font-size: 0.85rem;
    }
}

/* ===== СТРАНИЦА ИНФОРМАЦИИ О ЛОЯЛЬНОСТИ - МОБИЛЬНЫЙ ДИЗАЙН ===== */
.loyalty-info-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    padding: 20px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}

.loyalty-info-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.loyalty-info-page::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    pointer-events: none;
}

.loyalty-info-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    margin: 0 auto;
    min-height: auto;
}

.loyalty-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.loyalty-info-header h1 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--warm-white);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.loyalty-info-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 30px;
}

.info-card {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.info-card h2 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
}

.info-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.info-step:hover {
    background: var(--mint-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.info-step .step-number {
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    color: var(--warm-white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.info-step .step-content h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.info-step .step-content p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-dark);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.benefit-item:hover {
    background: var(--mint-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.benefit-item:active {
    transform: translateY(0);
}

.benefit-arrow {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    color: var(--primary-green);
    transition: all 0.3s ease;
    font-weight: bold;
}

.benefit-item:hover .benefit-arrow {
    color: var(--dark-green);
    transform: scale(1.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.benefit-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 8px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.benefit-content p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.3;
    color: var(--text-dark);
}

/* Стили для детальных описаний преимуществ */
.benefit-details {
    margin-top: 20px;
    background: linear-gradient(135deg, var(--mint-green), rgba(46, 125, 50, 0.05));
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.2);
    overflow: hidden;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.detail-content {
    padding: 25px;
}

.detail-content h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 20px 0;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(46, 125, 50, 0.2);
}

.detail-sections {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.detail-section {
    background: var(--warm-white);
    padding: 20px;
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.detail-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.detail-section h4 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin: 0 0 12px 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.detail-section h4::before {
    content: '▶';
    color: var(--primary-green);
    font-size: 0.9rem;
}

.detail-section ul {
    margin: 0;
    padding-left: 20px;
    list-style: none;
}

.detail-section li {
    margin: 8px 0;
    padding: 8px 0;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.4;
    color: var(--text-dark);
    border-bottom: 1px solid rgba(46, 125, 50, 0.1);
}

.detail-section li:last-child {
    border-bottom: none;
}

.detail-section li::before {
    content: '✓';
    position: absolute;
    left: -20px;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1rem;
}

.detail-section li strong {
    color: var(--dark-green);
    font-weight: 600;
}

.levels-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.level-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border-radius: var(--border-radius-small);
    border: 2px solid;
    transition: all 0.3s ease;
}

.level-item.bronze {
    background: linear-gradient(135deg, #CD7F32, #B8860B);
    border-color: #CD7F32;
    color: var(--warm-white);
}

.level-item.silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    border-color: #C0C0C0;
    color: var(--warm-white);
}

.level-item.gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFD700;
    color: var(--dark-green);
}

.level-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.level-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.level-info h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.level-info p {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.level-info ul {
    margin: 0;
    padding-left: 15px;
    font-size: 0.85rem;
    line-height: 1.4;
}

.earning-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.earning-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--soft-gray);
    border-radius: var(--border-radius-small);
    border: 1px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.earning-item:hover {
    background: var(--mint-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.1);
}

.earning-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.earning-content h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    margin: 0 0 5px 0;
    color: var(--dark-green);
    font-weight: 600;
}

.earning-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.loyalty-info-footer {
    text-align: center;
}

.loyalty-info-footer .btn {
    padding: 16px 32px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--border-radius-small);
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 56px;
    border: none;
    cursor: pointer;
}

/* Адаптивность для страницы информации */
@media (max-width: 480px) {
    .loyalty-info-page {
        padding: 15px;
    }
    
    .loyalty-info-container {
        max-width: 100%;
    }
    
    .loyalty-info-header h1 {
        font-size: 1.5rem;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .info-card h2 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .info-step {
        padding: 15px;
        gap: 12px;
    }
    
    .info-step .step-number {
        width: 35px;
        height: 35px;
        font-size: 1.1rem;
    }
    
    .info-step .step-content h3 {
        font-size: 1rem;
    }
    
    .info-step .step-content p {
        font-size: 0.9rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .benefit-item {
        padding: 15px;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .benefit-content h3 {
        font-size: 0.95rem;
    }
    
    .benefit-content p {
        font-size: 0.8rem;
    }
    
    .level-item {
        padding: 15px;
        gap: 12px;
    }
    
    .level-icon {
        font-size: 2rem;
    }
    
    .level-info h3 {
        font-size: 1.1rem;
    }
    
    .level-info p {
        font-size: 0.85rem;
    }
    
    .level-info ul {
        font-size: 0.8rem;
    }
    
    .earning-item {
        padding: 12px;
        gap: 12px;
    }
    
    .earning-icon {
        font-size: 1.8rem;
    }
    
    .earning-content h3 {
        font-size: 0.95rem;
    }
    
    .earning-content p {
        font-size: 0.85rem;
    }
    
    .loyalty-info-footer .btn {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    /* Адаптивность для детальных описаний */
    .benefit-item {
        padding: 15px 12px;
    }
    
    .benefit-arrow {
        top: 12px;
        right: 12px;
        font-size: 1rem;
    }
    
    .benefit-icon {
        font-size: 2rem;
    }
    
    .benefit-content h3 {
        font-size: 0.9rem;
    }
    
    .benefit-content p {
        font-size: 0.8rem;
    }
    
    .detail-content {
        padding: 20px;
    }
    
    .detail-content h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .detail-sections {
        gap: 15px;
    }
    
    .detail-section {
        padding: 15px;
    }
    
    .detail-section h4 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .detail-section li {
        font-size: 0.9rem;
        margin: 6px 0;
        padding: 6px 0;
    }
    
    /* Адаптивность для страницы регистрации */
    .client-register-header {
        padding: 25px 20px;
    }
    
    .client-register-header h1 {
        font-size: 1.5rem;
    }
    
    .client-register-header .back-btn {
        top: 15px;
        left: 15px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* ===== СТРАНИЦА ГЕНЕРАЦИИ КОДА ===== */
.code-section {
    max-width: 500px;
    margin: 0 auto 40px;
}

.code-container {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-bottom: 30px;
    border: 2px solid rgba(46, 125, 50, 0.1);
    transition: all 0.3s ease;
}

.code-container.active {
    border-color: var(--primary-green);
    box-shadow: 0 8px 40px rgba(46, 125, 50, 0.2);
    transform: translateY(-5px);
}

.code-display {
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
    color: var(--warm-white);
    position: relative;
    overflow: hidden;
}

.code-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23FFFFFF' fill-opacity='0.1'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.code-display > * {
    position: relative;
    z-index: 2;
}

.code-display h2 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    margin-bottom: 25px;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.code-number {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: bold;
    color: #FFD700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.8);
    margin-bottom: 20px;
    letter-spacing: 8px;
    animation: codeGlow 2s ease-in-out infinite alternate;
    text-align: center;
    padding: 20px 15px;
    border: 3px dashed rgba(255, 215, 0, 0.8);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.2);
    position: relative;
    box-shadow: inset 0 0 30px rgba(255, 215, 0, 0.2), 0 0 20px rgba(255, 215, 0, 0.3);
}

@keyframes codeGlow {
    0% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 215, 0, 0.5);
        transform: scale(1);
    }
    100% { 
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3), 0 0 30px rgba(255, 215, 0, 0.8);
        transform: scale(1.02);
    }
}

.code-timer {
    font-size: 1.1rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    color: var(--dark-green);
    padding: 10px 18px;
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-shadow: none;
}

.code-instructions {
    padding: 30px;
    background: var(--mint-green);
    text-align: center;
}

.code-instructions h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--dark-green);
    margin-bottom: 15px;
    font-weight: 600;
}

.code-instructions p {
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 1rem;
}

.code-instructions strong {
    color: var(--primary-green);
    font-weight: 600;
}

.code-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    margin-bottom: 30px;
}

.balance-section {
    background: var(--warm-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 25px;
    text-align: center;
    border: 1px solid rgba(46, 125, 50, 0.1);
}

.balance-section h3 {
    font-family: var(--font-heading);
    color: var(--dark-green);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.balance-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 1.2rem;
}

.balance-label {
    color: var(--text-light);
    font-weight: 500;
}

.balance-amount {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-green), var(--secondary-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== АНИМАЦИИ ===== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

@keyframes slideIn {
    from { transform: translateX(-100%); }
    to { transform: translateX(0); }
}

.slide-in {
    animation: slideIn 0.5s ease-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3) translateY(-50px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateY(-10px);
        opacity: 0.8;
    }
    70% {
        transform: scale(0.9) translateY(0);
        opacity: 1;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.bounce-in {
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Улучшенные переходы для кнопок */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:active {
    transform: translateY(1px);
}

/* ===== СТИЛИ ДЛЯ ИСТОРИИ ОПЕРАЦИЙ ===== */
.history-list {
    max-height: 400px;
    overflow-y: auto;
}

.history-item {
    background: var(--light-gray);
    border-radius: var(--border-radius-small);
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid var(--primary-green);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.operation-type {
    font-weight: 600;
    color: var(--dark-text);
    font-size: 1rem;
}

.operation-date {
    color: var(--medium-gray);
    font-size: 0.9rem;
}

.user-info {
    background: rgba(34, 139, 34, 0.1);
    padding: 8px 12px;
    border-radius: var(--border-radius-small);
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--dark-text);
}

.operation-details {
    background: var(--warm-white);
    padding: 10px;
    border-radius: var(--border-radius-small);
    font-size: 0.9rem;
    color: var(--dark-text);
    border: 1px solid var(--light-gray);
}

/* ===== TELEGRAM АУТЕНТИФИКАЦИЯ ===== */
.telegram-auth-section {
    margin-bottom: 20px;
}

.telegram-instructions {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    color: var(--warm-white);
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.step-number {
    background: #4CAF50;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 12px;
    flex-shrink: 0;
}

.instruction-step p {
    margin: 0;
    color: white;
    line-height: 1.4;
}

.instruction-step strong {
    color: #FFD700;
}

.operation-details div {
    margin-bottom: 5px;
}

.operation-details div:last-child {
    margin-bottom: 0;
}

.operation-details strong {
    color: var(--primary-green);
}
