/* Booking Confirmation - Inline Styles Refactored */

/* Company Branding */
.company-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.company-logo {
    max-height: 80px;
    width: auto;
    margin-bottom: 12px;
    object-fit: contain;
}

.company-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin: 0;
    letter-spacing: 0.3px;
}

/* Success Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Success Icon Container */
.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease;
}

.success-icon i {
    font-size: 3rem;
    color: white;
}

/* Confirmation Header */
.confirmation-header {
    text-align: center;
    margin-bottom: 25px;
}

.confirmation-header h2 {
    color: #28a745;
    margin-bottom: 8px;
    font-size: 2rem;
}

.confirmation-header p {
    color: #6c757d;
    font-size: 0.95rem;
}

/* Booking Reference Box */
.booking-reference-box {
    background: #f0f8f5;
    border: 2px dashed #28a745;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 25px;
    text-align: center;
}

.booking-reference-box p {
    color: #666;
    font-size: 0.85rem;
    margin: 0 0 5px 0;
}

.booking-reference-number {
    font-size: 1.8rem;
    font-weight: bold;
    color: #28a745;
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

/* Info Card */
.info-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.info-card-title {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 8px;
}

.info-card-title i {
    color: #667eea;
    margin-right: 8px;
}

/* Two Column Grid */
.info-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.info-grid-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 3px;
}

.info-value {
    color: #333;
    font-weight: 600;
    font-size: 0.95rem;
}

/* Payment Summary Card */
.payment-summary-card {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.05) 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.payment-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.payment-label {
    color: #666;
    font-size: 0.9rem;
}

.payment-amount {
    color: #333;
    font-size: 0.95rem;
    font-weight: 600;
}

.payment-status {
    color: #28a745;
    font-size: 0.95rem;
    font-weight: 600;
}

/* Driver Details Section */
.driver-details-box {
    background: #fff8f0;
    border-left: 4px solid #FF6B35;
    padding: 12px 15px;
    border-radius: 6px;
}

.driver-details-box p {
    color: #333;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.6;
}

.driver-details-box i {
    color: #FF6B35;
    margin-right: 8px;
    font-weight: 600;
}

/* Numbered List Items */
.numbered-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.numbered-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.numbered-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #667eea;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
    flex-shrink: 0;
    margin-top: 2px;
}

.numbered-content p {
    margin: 0;
    line-height: 1.4;
}

.numbered-content .title {
    color: #333;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 3px;
}

.numbered-content .description {
    color: #666;
    font-size: 0.85rem;
}

/* Download/Print Section */
.download-section {
    background: linear-gradient(135deg, #f0f4ff 0%, #f5f0ff 100%);
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.download-section-title {
    color: #333;
    font-size: 0.95rem;
    margin-bottom: 15px;
    font-weight: 600;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
    padding-bottom: 8px;
}

.download-section-title i {
    color: #667eea;
    margin-right: 8px;
}

.button-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.download-btn {
    padding: 10px 15px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.download-btn:primary {
    background: #667eea;
}

/* Help Section */
.help-section {
    background: white;
    border-radius: 12px;
    padding: 18px;
    border: 1px solid #e9ecef;
    margin-bottom: 20px;
}

.help-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.help-link {
    padding: 12px 15px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.help-link.call {
    background: #f0f8f5;
    border: 2px solid #28a745;
}

.help-link.email {
    background: #f5f0ff;
    border: 2px solid #667eea;
}

.help-link:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.help-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 3px;
}

.help-title.call {
    color: #28a745;
}

.help-title.email {
    color: #667eea;
}

.help-link i {
    margin-right: 6px;
}

.help-contact {
    color: #666;
    font-size: 0.8rem;
}

/* Info Message */
.info-message {
    background: #e7f3ff;
    border-left: 4px solid #667eea;
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 20px;
}

.info-message p {
    color: #0066cc;
    font-size: 0.9rem;
    margin: 0;
}

.info-message i {
    margin-right: 8px;
}

/* Home Button */
.btn-home {
    width: 100%;
    max-width: 300px;
    padding: 12px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-home:hover {
    background: #5568d3;
    transform: translateY(-2px);
}

/* Location Section */
.location-detail {
    margin-bottom: 12px;
}

.location-detail:last-child {
    margin-bottom: 0;
}

.location-label {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 5px;
}

.location-value {
    color: #333;
    font-size: 0.9rem;
    line-height: 1.5;
}

.location-section-hidden {
    display: none;
}

/* Error Message */
.error-message-display {
    background: #ffebee;
    color: #c62828;
    padding: 20px;
    border-bottom: 3px solid #c62828;
    font-size: 0.95rem;
    line-height: 1.6;
}

.error-message-display strong {
    font-size: 1.1rem;
}

.error-message-display a {
    color: #667eea;
    text-decoration: underline;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .company-logo {
        max-height: 60px;
        margin-bottom: 10px;
    }

    .company-name {
        font-size: 1.2rem;
    }

    .info-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .info-grid-item {
        padding: 10px 0;
    }

    .info-label {
        font-size: 0.75rem;
        margin-bottom: 2px;
    }

    .info-value {
        font-size: 0.9rem;
    }

    .help-grid {
        grid-template-columns: 1fr;
    }

    .button-grid-2 {
        grid-template-columns: 1fr;
    }

    .success-icon {
        width: 60px;
        height: 60px;
    }

    .success-icon i {
        font-size: 2rem;
    }

    .confirmation-header h2 {
        font-size: 1.5rem;
    }

    .booking-reference-number {
        font-size: 1.4rem;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .info-grid-2 {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .info-label {
        font-size: 0.7rem;
    }

    .info-value {
        font-size: 0.85rem;
    }

    .info-card {
        padding: 12px;
    }

    .info-card-title {
        font-size: 0.95rem;
    }
}
