/* pages.css - Специфичные стили страниц FastBot */

/* === HOME PAGE === */
.hero-section {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 24px 20px;
    border-radius: 16px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
}

/* Цветные кнопки в хиро секции */
.hero-section .btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: 2px solid white;
    color: white;
    font-weight: 700;
}

.hero-section .btn-light {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    border: 2px solid white;
    color: white;
    font-weight: 700;
}

.hero-section h1 {
    color: white;
    margin-bottom: 12px;
    font-size: 24px;
}

.hero-section .lead {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 0;
}

.promo-highlight {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
    margin: 0 4px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.filters-section {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.partner-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.partner-card-header {
    padding: 20px 20px 12px;
    flex-shrink: 0;
}

.partner-card-body {
    padding: 0 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.partner-name {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
    line-height: 1.3;
}

.partner-category {
    background: #6c757d;
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.partner-description {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
    flex: 1;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 13px;
}

.info-icon {
    width: 16px;
    margin-right: 8px;
    color: #007bff;
    flex-shrink: 0;
}

.working-hours-card {
    background: #e7f3ff;
    padding: 10px 12px;
    border-radius: 8px;
    border-left: 3px solid #007bff;
    margin-bottom: 16px;
}

.promo-section {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 12px 16px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 16px;
    box-shadow: 0 2px 8px rgba(40, 167, 69, 0.2);
}

.call-button {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    display: block;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.call-button:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* === PARTNER INFO PAGE === */
.commission-highlight {
    background: linear-gradient(45deg, #28a745, #20c997);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    margin: 32px 0;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
}

.commission-highlight h2 {
    color: white;
    margin-bottom: 20px;
}

.commission-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .commission-row {
        flex-direction: row;
    }
}

.commission-col {
    flex: 1;
    text-align: left;
}

.commission-col h4 {
    color: white;
    margin-bottom: 12px;
}

.commission-col ul {
    list-style: none;
    padding: 0;
}

.commission-col li {
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.commission-col li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: white;
    font-weight: bold;
}

.client-flow {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 16px;
    margin: 32px 0;
    border: 1px solid #e9ecef;
}

.step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.step-number {
    background: #007bff;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 16px;
    flex-shrink: 0;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 32px 0;
}

@media (min-width: 768px) {
    .benefit-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefit-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    text-align: center;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.benefit-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.cta-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 40px 24px;
    border-radius: 16px;
    text-align: center;
    margin: 40px 0;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.2);
}

.cta-section h2 {
    color: white;
    margin-bottom: 16px;
}

/* Кнопка в CTA секции - выделяющаяся */
.cta-section .btn-light {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: 2px solid white;
    font-weight: 700;
    font-size: 18px;
    padding: 16px 32px;
}

.cta-section .btn-light:hover {
    background: linear-gradient(135deg, #e55a2b, #e0841a);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.example-breakdown {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
}

.breakdown-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    min-width: 120px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.breakdown-item.positive {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.breakdown-item.neutral {
    background: #6c757d;
    color: white;
}

.breakdown-item.client {
    background: linear-gradient(135deg, #17a2b8, #20c997);
    color: white;
}

.breakdown-item.commission {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
}

.breakdown-item.profit {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: 3px solid #fff;
    font-weight: bold;
}

.breakdown-amount {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.breakdown-label {
    font-size: 12px;
    opacity: 0.9;
}

.breakdown-arrow {
    font-size: 24px;
    font-weight: bold;
    color: #6c757d;
}

.breakdown-equals {
    font-size: 24px;
    font-weight: bold;
    color: #ff6b35;
}

.example-highlight {
    background: linear-gradient(135deg, #e3f2fd, #f1f8e9);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.highlight-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.highlight-icon {
    font-size: 24px;
}

.comparison-block {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.comparison-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid;
}

.comparison-item.bad {
    background: #fff5f5;
    border-color: #fed7d7;
    color: #c53030;
}

.comparison-item.average {
    background: #fffbf0;
    border-color: #fbd38d;
    color: #dd6b20;
}

.comparison-item.good {
    background: #f0fff4;
    border-color: #9ae6b4;
    color: #2f855a;
}

.comparison-amount {
    font-size: 20px;
    font-weight: 700;
    margin: 10px 0;
}

.reality-check {
    margin-top: 20px;
    padding: 15px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .example-breakdown {
        flex-direction: column;
    }

    .breakdown-arrow,
    .breakdown-equals {
        transform: rotate(90deg);
    }

    .highlight-row {
        grid-template-columns: 1fr;
    }
}





/* === REGISTRATION PAGE === */
.registration-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.registration-header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 24px;
    text-align: center;
}

.registration-header h2 {
    color: white;
    margin-bottom: 8px;
}

.registration-body {
    padding: 24px;
}

.form-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #e9ecef;
}

.form-section h4 {
    color: #495057;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 768px) {
    .form-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid-3 {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .form-grid-4 {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

.required-field::after {
    content: " *";
    color: #dc3545;
    font-weight: bold;
}

.info-section {
    background: #d1ecf1;
    border-left: 4px solid #17a2b8;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-bottom: 16px;
}

.validation-summary {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.submit-section {
    background: linear-gradient(135deg, #28a745, #20c997);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin-top: 32px;
}

.submit-btn {
    background: white;
    color: #28a745;
    border: 2px solid white;
    padding: 14px 32px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.submit-btn:hover {
    background: #28a745;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* === ADMIN PANEL === */
.admin-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 30px 0;
    border-radius: 16px;
    margin-bottom: 24px;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.2);
}

.stat-card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.2s;
    background: white;
    border-radius: 12px;
    text-align: center;
    padding: 20px;
    margin-bottom: 20px;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.quick-delete-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.quick-delete-header {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
}

.pending-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
    margin-bottom: 24px;
}

.pending-header {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: #212529;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
    font-weight: 600;
}

.approved-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.approved-header {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    padding: 16px 20px;
    border-radius: 12px 12px 0 0;
}

/* Мобильные улучшения */
@media (max-width: 767px) {
    .hero-section {
        padding: 20px 16px;
    }
    
    .hero-section h1 {
        font-size: 22px;
    }
    
    .partner-card-header,
    .partner-card-body {
        padding: 16px;
    }
    
    .commission-highlight {
        padding: 20px 16px;
    }
    
    .registration-body {
        padding: 16px;
    }
    
    .form-section {
        padding: 16px;
    }
}



/* === HERO SECTION STYLES === */

.promo-info {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-info h2 {
    color: white;
    margin-bottom: 16px;
    font-size: 20px;
}

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

.instruction-step {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    border-left: 4px solid #ffc107;
}

.calculation-example {
    background: rgba(255, 193, 7, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.calculation-example h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
    text-align: center;
}

.example-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.example-step {
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 16px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 400px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.step-content small {
    font-size: 12px;
    opacity: 0.8;
    line-height: 1.3;
}

.arrow {
    font-size: 20px;
    color: #ffc107;
    font-weight: bold;
    margin: 4px 0;
}

.example-note {
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.example-note p {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 500;
}

@media (min-width: 768px) {
    .example-flow {
        flex-direction: row;
        justify-content: center;
    }

    .example-step {
        max-width: 200px;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    .arrow {
        transform: rotate(-90deg);
        margin: 0 8px;
    }
}

.trust-explanation {
    background: rgba(40, 167, 69, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.trust-explanation h3 {
    color: white;
    margin-bottom: 12px;
    font-size: 18px;
}

.trust-explanation p {
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 14px;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.benefits-list li {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    margin-bottom: 6px;
    border-radius: 6px;
    border-left: 3px solid #ffc107;
    font-size: 14px;
}

.world-choice {
    background: rgba(255, 107, 53, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.world-choice h3 {
    color: white;
    margin-bottom: 16px;
    font-size: 18px;
    text-align: center;
}

.choice-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 16px 0;
}

@media (min-width: 768px) {
    .choice-options {
        grid-template-columns: 1fr 1fr;
    }
}

.choice-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.world-1 {
    border-color: rgba(220, 53, 69, 0.5);
}

.world-2 {
    border-color: rgba(40, 167, 69, 0.5);
}

.choice-option h4 {
    color: white;
    font-size: 16px;
    margin-bottom: 8px;
}

.choice-option p {
    font-size: 13px;
    line-height: 1.4;
    margin: 0;
    opacity: 0.9;
}

.choice-question {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 0 0;
    color: #ffc107;
}

.final-message {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 12px;
    margin: 20px 0;
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
}

.final-message p {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    font-style: italic;
}

/* Мобильные улучшения для hero */
@media (max-width: 767px) {
    .promo-info h2 {
        font-size: 18px;
    }

    .trust-explanation h3,
    .world-choice h3 {
        font-size: 16px;
    }

    .instruction-steps {
        gap: 6px;
    }

    .instruction-step {
        padding: 10px 12px;
        font-size: 13px;
    }
}