/* online-order.css - Стили для страницы онлайн-заказа TAXI755 */
/* Интеграция с существующим шаблоном taxi755 */

/* ==================== ОСНОВНЫЕ ПЕРЕМЕННЫЕ ==================== */
/* Используем переменные из основного template.css */

/* ==================== СТИЛИ ДЛЯ ОНЛАЙН-ЗАКАЗА ==================== */

/* Hero Section */
.online-order-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 3rem 0;
    margin: 2rem 0;
    border-radius: 20px;
}

.online-order-hero .hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
}

.online-order-hero .hero-subtitle {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Hero Benefits */
.hero-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateX(5px);
}

.benefit-item .icon-check,
.benefit-item .icon-clock,
.benefit-item .icon-phone {
    font-size: 1.2rem;
    color: #ffd700;
    font-weight: bold;
}

/* Order Form Container */
.order-form-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 2px solid #ffd700;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.8rem;
}

.form-header p {
    color: #666;
    margin-bottom: 0;
}

/* SEDI Form Wrapper */
.sedi-form-wrapper {
    min-height: 400px;
    position: relative;
}

.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    text-align: center;
    color: #666;
}

.loading-placeholder .spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #ffd700;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

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

/* Fallback Form */
.fallback-form {
    width: 100%;
}

.taxi-order-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #ffd700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
    outline: none;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    appearance: none;
}

.datetime-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.urgent-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.urgent-option input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.urgent-option label {
    margin: 0;
    font-weight: 500;
    cursor: pointer;
}

/* Order Button */
.btn-order {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    border: none;
    border-radius: 12px;
    color: #333;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-order:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.3);
}

.btn-order:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner-sm {
    width: 16px;
    height: 16px;
    border: 2px solid transparent;
    border-top: 2px solid #333;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Pricing Info Section */
.pricing-info {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    border-left: 5px solid #ffd700;
}

.pricing-note h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.pricing-note p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.pricing-note .highlight {
    background: rgba(255, 215, 0, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Instructions Grid */
.order-instructions {
    margin: 3rem 0;
}

.order-instructions h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.instructions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.instruction-item {
    display: flex;
    gap: 1rem;
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.instruction-item:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
}

.instruction-number {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ffd700, #ffa500);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.instruction-content h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.instruction-content p {
    color: #666;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Timing Information */
.timing-info {
    margin: 3rem 0;
}

.timing-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border-top: 4px solid #ffd700;
    transition: all 0.3s ease;
}

.timing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.timing-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.timing-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timing-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 1rem;
}

.timing-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Benefits Section */
.benefits-section {
    margin: 3rem 0;
}

.benefits-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 2rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Service Classes */
.service-classes {
    margin: 3rem 0;
}

.service-classes h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    font-size: 2rem;
}

.section-intro {
    text-align: center;
    color: #666;
    max-width: 800px;
    margin: 0 auto 3rem auto;
    font-size: 1.1rem;
    line-height: 1.7;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.class-card {
    background: #ffffff;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.class-card:hover {
    border-color: #ffd700;
    transform: translateY(-5px);
}

.class-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.class-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.class-card p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Additional Services */
.additional-services {
    margin: 3rem 0;
}

.services-notice {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border-left: 5px solid #28a745;
}

.services-notice h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.services-notice p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

/* SMS Confirmation */
.sms-confirmation {
    margin: 3rem 0;
}

.confirmation-notice {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid #2196f3;
}

.confirmation-icon {
    font-size: 3rem;
    flex: 0 0 auto;
}

.confirmation-content h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.confirmation-content p {
    color: #666;
    margin: 0;
    line-height: 1.7;
}

/* Footer CTA */
.footer-cta {
    margin: 3rem 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #333 0%, #555 100%);
    border-radius: 20px;
    color: #ffffff;
}

.footer-cta h2 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.footer-cta p {
    color: #ddd;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.legal-notice {
    margin-top: 1rem;
}

.legal-notice a {
    color: #ffd700;
    font-size: 0.9rem;
}

.legal-notice a:hover {
    color: #ffa500;
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-width: 300px;
    max-width: 400px;
    border-left: 5px solid #ffd700;
    animation: slideInRight 0.3s ease;
}

.notification.notification-success {
    border-left-color: #28a745;
}

.notification.notification-error {
    border-left-color: #dc3545;
}

.notification.notification-info {
    border-left-color: #17a2b8;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    gap: 1rem;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-close:hover {
    color: #333;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .online-order-hero {
        padding: 2rem 0;
    }
    
    .online-order-hero .hero-title {
        font-size: 2rem;
    }
    
    .online-order-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-benefits {
        gap: 0.75rem;
    }
    
    .order-form-container {
        padding: 1.5rem;
    }
    
    .instructions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid,
    .classes-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .timing-card {
        padding: 1.5rem;
    }
    
    .confirmation-notice {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-cta {
        padding: 2rem 1rem;
    }
    
    .footer-cta h2 {
        font-size: 1.5rem;
    }
    
    .notification {
        left: 20px;
        right: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .online-order-hero .hero-title {
        font-size: 1.75rem;
    }
    
    .order-form-container {
        padding: 1rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .instruction-item {
        padding: 1rem;
    }
    
    .timing-card,
    .benefit-card,
    .class-card {
        padding: 1rem;
    }
    
    .confirmation-notice {
        padding: 1.5rem;
    }
    
    .footer-cta {
        padding: 1.5rem 1rem;
    }
}

/* Print Styles */
@media print {
    .loading-placeholder,
    .btn-order,
    .footer-cta,
    .notification {
        display: none;
    }
    
    .online-order-hero,
    .pricing-info,
    .instruction-item,
    .timing-card,
    .benefit-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .order-form-container,
    .instruction-item,
    .timing-card,
    .benefit-card,
    .class-card {
        border: 2px solid #000;
    }
    
    .btn-order {
        border: 2px solid #000;
    }
}

@media (prefers-reduced-motion: reduce) {
    .loading-placeholder .spinner,
    .spinner-sm {
        animation: none;
    }
    
    .instruction-item,
    .timing-card,
    .benefit-card,
    .class-card,
    .btn-order {
        transition: none;
    }
    
    .instruction-item:hover,
    .timing-card:hover,
    .benefit-card:hover,
    .class-card:hover {
        transform: none;
    }
} 