/**
 * Frontend Styles
 * LA Party Rentals - Booking Requirements
 * Professional, Modern Design
 */

/* Reset and Base Styles */
.lafr-br-requirements-wrapper * {
    box-sizing: border-box;
}

/* Order Details Page Section */
.lafr-br-order-requirements {
    margin-top: 20px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 4px !important;
}

.lafr-br-order-requirements h2 {
    margin-top: 0 !important;
    font-size: 18px !important;
    color: #333 !important;
}

.lafr-br-order-requirements .button {
    transition: all 0.3s ease !important;
}

.lafr-br-order-requirements .button:hover {
    background: #0056b3 !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 8px rgba(0,123,255,0.3) !important;
}

/* Main Wrapper */
.lafr-br-requirements-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: #ffffff;
}

/* Header Section */
.lafr-br-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 30px;
    border-bottom: 2px solid #f0f0f0;
}

.lafr-br-title {
    font-size: 42px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 12px 0;
    letter-spacing: -0.5px;
}

.lafr-br-subtitle {
    font-size: 18px;
    color: #666;
    margin: 0;
    font-weight: 400;
}

/* Progress Tracker */
.lafr-br-progress-tracker {
    margin-bottom: 50px;
    background: #f9fafb;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.lafr-br-progress-bar {
    background: #e5e7eb;
    height: 12px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lafr-br-progress-fill {
    background: linear-gradient(90deg, #059669 0%, #10b981 100%);
    height: 100%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(5, 150, 105, 0.4);
}

.lafr-br-progress-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
}

.lafr-br-progress-step {
    text-align: center;
    position: relative;
}

.lafr-br-progress-step.clickable {
    cursor: pointer;
}

.lafr-br-progress-step.clickable:hover .lafr-br-step-circle {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lafr-br-progress-step.clickable:hover .lafr-br-step-label {
    color: #1f2937;
}

.lafr-br-step-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 3px solid transparent;
}

.lafr-br-progress-step.active .lafr-br-step-circle {
    background: #3b82f6;
    color: #fff;
    border-color: #93c5fd;
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.1);
    transform: scale(1.1);
}

.lafr-br-progress-step.completed .lafr-br-step-circle {
    background: #10b981;
    color: #fff;
    border-color: #6ee7b7;
}

.lafr-br-progress-step.submitted .lafr-br-step-circle {
    background: #f59e0b;
    color: #fff;
    border-color: #fcd34d;
}

.lafr-br-step-label {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
    line-height: 1.4;
}

.lafr-br-progress-step.active .lafr-br-step-label {
    color: #1f2937;
}

/* Step Panel */
.lafr-br-step-panel {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    padding: 50px;
    margin-bottom: 30px;
    border: 1px solid #f3f4f6;
}

.lafr-br-step-content {
    min-height: 200px;
}

.lafr-br-step-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 28px;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.lafr-br-step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 28px;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.lafr-br-step-content h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.lafr-br-step-content p {
    text-align: center;
    font-size: 17px;
    color: #6b7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* Booking Summary */
.lafr-br-booking-summary {
    background: linear-gradient(135deg, #f9fafb 0%, #ffffff 100%);
    border-left: 5px solid #3b82f6;
    padding: 28px;
    margin: 32px 0;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.lafr-br-booking-summary h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.lafr-br-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lafr-br-summary-row:last-child {
    border-bottom: none;
}

.lafr-br-summary-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 15px;
}

.lafr-br-summary-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 15px;
}

/* Info Box */
.lafr-br-info-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    padding: 20px;
    margin: 28px 0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(245, 158, 11, 0.1);
}

.lafr-br-info-box p {
    margin: 0 0 10px 0;
    text-align: left;
    color: #92400e;
    font-size: 15px;
    line-height: 1.6;
}

.lafr-br-info-box p:last-child {
    margin-bottom: 0;
}

.lafr-br-info-box strong {
    color: #78350f;
}

/* Form Container */
.lafr-br-form-container {
    margin: 32px 0;
}

.lafr-br-embedded-form {
    background: #ffffff;
    padding: 24px;
    border-radius: 12px;
    border: 2px solid #e5e7eb;
    margin-bottom: 24px;
}

.lafr-br-embedded-form iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

.lafr-br-upload-section {
    margin-bottom: 28px;
    padding: 28px;
    background: #f9fafb;
    border-radius: 12px;
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}

.lafr-br-upload-section:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.lafr-br-upload-section h4 {
    margin: 0 0 16px 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

.lafr-br-upload-section input[type="file"] {
    display: block;
    width: 100%;
    padding: 16px;
    margin: 16px 0;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    cursor: pointer;
    font-size: 15px;
    transition: all 0.3s ease;
}

.lafr-br-upload-section input[type="file"]:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
}

.lafr-br-upload-status {
    margin-top: 16px;
    font-size: 14px;
    color: #6b7280;
}

/* Divider */
.lafr-br-divider {
    text-align: center;
    margin: 32px 0;
    position: relative;
}

.lafr-br-divider::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #e5e7eb 50%, transparent 100%);
}

.lafr-br-divider span {
    background: #fff;
    padding: 0 20px;
    position: relative;
    color: #9ca3af;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Step Actions */
.lafr-br-step-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #f3f4f6;
}

.lafr-br-button {
    display: inline-block;
    padding: 16px 36px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    text-align: center;
    letter-spacing: 0.3px;
}

.lafr-br-button-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.lafr-br-button-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
    transform: translateY(-2px);
}

.lafr-br-button-primary:active {
    transform: translateY(0);
}

.lafr-br-button-secondary {
    background: #6b7280;
    color: #fff;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.3);
}

.lafr-br-button-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

.lafr-br-help-text {
    font-size: 14px;
    color: #9ca3af;
    font-style: italic;
    margin: 12px 0;
}

/* Notices */
.lafr-br-notices {
    position: fixed;
    top: 40px;
    right: 40px;
    max-width: 420px;
    z-index: 9999;
}

.lafr-br-notice {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 16px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-left: 5px solid #3b82f6;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.lafr-br-notice-error {
    border-left-color: #ef4444;
}

.lafr-br-notice-success {
    border-left-color: #10b981;
}

/* Completion Screen */
.lafr-br-completion-wrapper {
    max-width: 700px;
    margin: 80px auto;
    padding: 50px;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #f3f4f6;
}

.lafr-br-completion-icon {
    margin: 0 auto 32px;
}

.lafr-br-completion-title {
    font-size: 38px;
    margin: 0 0 20px 0;
    color: #10b981;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lafr-br-completion-message {
    font-size: 19px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 40px;
}

.lafr-br-completion-summary {
    background: #f9fafb;
    padding: 32px;
    border-radius: 12px;
    margin: 32px 0;
    text-align: left;
    border: 1px solid #e5e7eb;
}

.lafr-br-next-steps {
    list-style: none;
    padding: 0;
    margin: 20px 0 0 0;
}

.lafr-br-next-steps li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.lafr-br-next-steps .lafr-br-step-icon {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
    margin: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.lafr-br-next-steps .lafr-br-step-text {
    flex: 1;
    padding-top: 6px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

.lafr-br-booking-reference {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    padding: 24px;
    border-radius: 12px;
    margin: 28px 0;
}

.lafr-br-booking-reference h4 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1f2937;
    font-weight: 600;
}

.lafr-br-reference-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.lafr-br-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.lafr-br-detail-row:last-child {
    border-bottom: none;
}

.lafr-br-detail-label {
    color: #6b7280;
    font-weight: 500;
}

.lafr-br-detail-value {
    color: #1f2937;
    font-weight: 600;
}

.lafr-br-completion-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin: 40px 0;
}

.lafr-br-help-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #f3f4f6;
    font-size: 14px;
    color: #9ca3af;
}

/* Welcome Section */
.lafr-br-welcome-section {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 2px solid #93c5fd;
    border-radius: 16px;
    padding: 40px;
    margin: 32px 0;
    text-align: center;
}

.lafr-br-welcome-section h3 {
    font-size: 28px;
    color: #1e40af;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.lafr-br-welcome-section p {
    font-size: 17px;
    color: #1e40af;
    line-height: 1.6;
    margin: 12px 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lafr-br-requirements-wrapper {
        padding: 30px 16px;
    }

    .lafr-br-title {
        font-size: 32px;
    }

    .lafr-br-subtitle {
        font-size: 16px;
    }

    .lafr-br-step-panel {
        padding: 30px 20px;
    }

    .lafr-br-progress-tracker {
        padding: 20px;
    }

    .lafr-br-progress-steps {
        gap: 12px;
    }

    .lafr-br-step-circle {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .lafr-br-step-label {
        font-size: 11px;
    }

    .lafr-br-step-content h2 {
        font-size: 26px;
    }

    .lafr-br-step-content p {
        font-size: 16px;
    }

    .lafr-br-step-actions {
        flex-direction: column;
    }

    .lafr-br-button {
        width: 100%;
    }

    .lafr-br-completion-wrapper {
        padding: 30px 20px;
        margin: 40px 16px;
    }

    .lafr-br-completion-title {
        font-size: 28px;
    }

    .lafr-br-completion-actions {
        flex-direction: column;
    }

    .lafr-br-notices {
        top: 20px;
        right: 20px;
        left: 20px;
        max-width: none;
    }

    .lafr-br-booking-summary {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .lafr-br-title {
        font-size: 26px;
    }

    .lafr-br-step-number {
        width: 60px;
        height: 60px;
        font-size: 28px;
    }

    .lafr-br-step-icon {
        width: 75px;
        height: 75px;
        font-size: 40px;
    }
}
