/* ==========================================================================
   Order Report Section Styles
   ========================================================================== */

.order-report-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.order-report-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(46, 26, 71, 0.02) 0%, transparent 70%);
    pointer-events: none;
}

.order-report-content {
    display: grid;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.order-report-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #2E1A47, #4A2F6B);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 2rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.section-badge i {
    font-size: 1rem;
}

.order-report-header .section-title {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #2E1A47, #4A2F6B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.order-report-header .section-subtitle {
    font-size: 1.25rem;
    color: #6b7280;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.report-features {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    border: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.feature-highlight:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

.feature-highlight i {
    color: #00B347;
    font-size: 1.25rem;
}

.feature-highlight span {
    font-weight: 600;
    color: #111827;
    font-size: 0.9rem;
}

.order-form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    border: 1px solid #f3f4f6;
    overflow: hidden;
}

.form-card-header {
    background: linear-gradient(135deg, #2E1A47, #4A2F6B);
    color: white;
    padding: 2.5rem;
    text-align: center;
}

.form-card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.form-card-header p {
    opacity: 0.9;
    font-size: 1rem;
}

.report-order-form {
    padding: 2.5rem;
}

.form-section {
    margin-bottom: 2.5rem;
}

.form-section:last-of-type {
    margin-bottom: 2rem;
}

.form-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2E1A47;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #f3f4f6;
}

.form-section-title i {
    color: #00B347;
    font-size: 1.25rem;
}

.order-report-section .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.order-report-section .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Remove margin-bottom from input-group when inside form-row */
.order-report-section .form-row .input-group {
    margin-bottom: 0;
}

.order-report-section .input-group i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    z-index: 2;
    transition: all 0.3s ease;
}

.order-report-section .input-group input,
.order-report-section .input-group select,
.order-report-section .input-group textarea {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #111827;
    outline: none;
}

.order-report-section .input-group textarea {
    min-height: 120px;
    resize: vertical;
    line-height: 1.6;
}

.order-report-section .input-group input:focus,
.order-report-section .input-group select:focus,
.order-report-section .input-group textarea:focus {
    border-color: #2E1A47;
    box-shadow: 0 0 0 4px rgba(46, 26, 71, 0.1);
}

.order-report-section .input-group input:focus + label,
.order-report-section .input-group select:focus + label,
.order-report-section .input-group textarea:focus + label {
    color: #2E1A47;
    transform: translateY(-100%) scale(0.85);
}

.order-report-section .input-group input:not(:placeholder-shown) + label,
.order-report-section .input-group select:not([value=""]):valid + label,
.order-report-section .input-group textarea:not(:placeholder-shown) + label {
    color: #2E1A47;
    transform: translateY(-100%) scale(0.85);
}

.order-report-section .input-group label {
    position: absolute;
    left: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 0.5rem;
    font-size: 1rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.order-report-section .input-group textarea + label {
    top: 1.5rem;
    transform: none;
}

.order-report-section .input-group select + label {
    display: none;
}

/* ==========================================================================
   Floating Label Styles for Home Page and All Forms
   ========================================================================== */

/* Home page form floating labels */
.report-order-form .input-group label {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 0.5rem;
    font-size: 1rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.report-order-form .input-group input:focus + label,
.report-order-form .input-group input:not(:placeholder-shown) + label {
    color: #2E1A47;
    transform: translateY(-135%) scale(0.85);
    font-weight: 500;
}

.report-order-form .input-group input:focus {
    outline: none;
    border-color: #2E1A47;
    box-shadow: 0 0 0 3px rgba(46, 26, 71, 0.1);
}

/* Make placeholder text transparent for floating label forms */
.report-order-form .input-group input::placeholder {
    color: transparent;
}

/* General floating label styles for any form not using order-report-section */
.input-group:not(.order-report-section .input-group) label {
    position: absolute;
    left: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    padding: 0 0.5rem;
    font-size: 1rem;
    color: #9ca3af;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-group:not(.order-report-section .input-group) input:focus + label,
.input-group:not(.order-report-section .input-group) input:not(:placeholder-shown) + label {
    color: #2E1A47;
    transform: translateY(-135%) scale(0.85);
    font-weight: 500;
}

.input-group:not(.order-report-section .input-group) input::placeholder {
    color: transparent;
}

.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

.btn-submit span {
    margin-left: 0.5rem;
}

.form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

.form-disclaimer i {
    color: #00B347;
}

.pricing-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.pricing-card {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    border: 1px solid #f3f4f6;
    padding: 2rem;
    position: sticky;
    top: 2rem;
}

.pricing-card h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E1A47;
    margin-bottom: 1.5rem;
    text-align: center;
}

.pricing-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.pricing-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 2px solid #f3f4f6;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.pricing-option:hover {
    border-color: #2E1A47;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.pricing-option.popular {
    border-color: #00B347;
    background: linear-gradient(135deg, rgba(0, 179, 71, 0.05), rgba(50, 205, 50, 0.05));
}

.pricing-badge {
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: #00B347;
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.pricing-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2E1A47, #4A2F6B);
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.pricing-option.popular .pricing-icon {
    background: linear-gradient(135deg, #00B347, #32CD32);
}

.pricing-details {
    flex: 1;
}

.pricing-details h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.pricing-details p {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 0.5rem;
}

.pricing-details .price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2E1A47;
}

.pricing-option.popular .pricing-details .price {
    color: #00B347;
}

.guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

.guarantee i {
    color: #00B347;
}

/* Mobile Responsive Styles */
@media (max-width: 1024px) {
    .order-form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .pricing-sidebar {
        order: -1;
    }
    
    .pricing-card {
        position: static;
    }
}

@media (max-width: 768px) {
    .order-report-section {
        padding: 3rem 0;
    }
    
    .order-report-header .section-title {
        font-size: 2.5rem;
    }
    
    .report-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature-highlight {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .order-report-section .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-card-header,
    .report-order-form {
        padding: 2rem;
    }
    
    .pricing-options {
        gap: 0.75rem;
    }
    
    .pricing-option {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .order-report-section {
        padding: 2rem 0;
    }
    
    .order-report-header .section-title {
        font-size: 2rem;
    }
    
    .order-report-header .section-subtitle {
        font-size: 1rem;
    }
    
    .form-card-header,
    .report-order-form {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 1.5rem;
    }
} 

/* ==========================================================================
   Order Report Modal Styles
   ========================================================================== */

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideInUp 0.4s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2.5rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-header h2 {
    margin: 0;
    color: #1a202c;
    font-size: 1.75rem;
    font-weight: 700;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #e53e3e;
}

.modal-body {
    padding: 2rem 2.5rem 2.5rem;
}

/* Modal form styling fixes */
.modal-body .form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.modal-body .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Remove margin-bottom from input-group when inside form-row in modal */
.modal-body .form-row .input-group {
    margin-bottom: 0;
}

.modal-body .form-section {
    margin-bottom: 2rem;
}

.modal-body .form-section:last-of-type {
    margin-bottom: 1.5rem;
}

/* Responsive modal form styling */
@media (max-width: 768px) {
    .modal-body .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .modal-body .input-group {
        margin-bottom: 1rem;
    }
    
    .modal-body .form-row .input-group {
        margin-bottom: 0;
    }
    
    .modal-body .form-section {
        margin-bottom: 1.5rem;
    }
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
    transform: translateY(-50%);
}

.progress-steps .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 120px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.step-label {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: #64748b;
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-number {
    background: linear-gradient(135deg, #2d1b4e 0%, #4c1d95 100%);
    color: #ffffff;
}

.step.active .step-label {
    color: #2d1b4e;
    font-weight: 600;
}

.step.completed .step-number {
    background: #10b981;
    color: #ffffff;
}

.step.completed .step-number::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.step.completed .step-label {
    color: #10b981;
}

/* Step Content */
.step-content {
    display: none;
    animation: fadeInSlide 0.4s ease;
}

.step-content.active {
    display: block;
}

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

/* Selected Property and Report Display */
.selected-property,
.selected-report {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #0ea5e9;
    border-radius: 10px;
    padding: 1rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.selected-property i,
.selected-report i {
    color: #0ea5e9;
    font-size: 1.125rem;
}

.selected-property span,
.selected-report span {
    color: #0c4a6e;
    font-size: 0.875rem;
    line-height: 1.4;
}

.selected-property strong,
.selected-report strong {
    color: #0c4a6e;
    font-weight: 600;
}

/* Contact Info in Confirmation */
.contact-info {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.contact-info h4 {
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    text-align: center;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.contact-method:hover {
    border-color: #4c1d95;
    box-shadow: 0 2px 8px rgba(76, 29, 149, 0.1);
}

.contact-method i {
    color: #4c1d95;
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.contact-method div {
    flex: 1;
}

.contact-method strong {
    display: block;
    color: #1a202c;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.contact-method span {
    color: #4c1d95;
    font-size: 0.875rem;
    font-weight: 500;
}

.step-header h3 {
    color: #1a202c;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.step-header p {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

/* Property Summary */
.property-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
}

.property-summary h4 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    text-align: center;
}

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

.summary-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: transform 0.2s ease;
}

.summary-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.summary-item i {
    color: #4c1d95;
    font-size: 1.25rem;
    width: 20px;
    text-align: center;
}

.summary-item div {
    flex: 1;
}

.summary-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-value {
    display: block;
    font-size: 1rem;
    color: #1a202c;
    font-weight: 600;
    margin-top: 0.25rem;
}

/* Report Options */
.report-options {
    margin: 2rem 0;
}

.report-options h5 {
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1.5rem;
    text-align: center;
}

.report-type-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.report-option {
    cursor: pointer;
    display: block;
}

.report-option input[type="radio"] {
    display: none;
}

.option-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    background: #ffffff;
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
}

.option-card.featured {
    border-color: #4c1d95;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.15);
}

.report-option input[type="radio"]:checked + .option-card {
    border-color: #4c1d95;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.15);
    transform: translateY(-2px);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.option-header h6 {
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0;
}

.price {
    color: #4c1d95;
    font-size: 1.25rem;
    font-weight: 700;
}

.popular-badge {
    position: absolute;
    top: -8px;
    right: 1rem;
    background: linear-gradient(135deg, #4c1d95 0%, #6b46c1 100%);
    color: #ffffff;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.option-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.option-card li {
    padding: 0.5rem 0;
    color: #64748b;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.option-card li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #10b981;
    font-size: 0.75rem;
}

/* Form Sections */
.form-section {
    margin: 2rem 0;
}

.form-section h4 {
    color: #1a202c;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h4 i {
    color: #4c1d95;
}

.billing-same-checkbox {
    margin-bottom: 1rem;
}

.billing-same-checkbox label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: #64748b;
}

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

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.billing-same-checkbox input[type="checkbox"]:checked + .checkmark {
    background: #4c1d95;
    border-color: #4c1d95;
}

.billing-same-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: #ffffff;
    font-size: 0.75rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Payment Summary */
.payment-summary {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.order-summary h4 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.875rem;
    color: #64748b;
}

.summary-line:last-child {
    border-bottom: none;
}

.summary-line.total {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1a202c;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-method {
    cursor: pointer;
    display: block;
}

.payment-method input[type="radio"] {
    display: none;
}

.method-card {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    transition: all 0.2s ease;
    background: #ffffff;
}

.payment-method.active .method-card,
.payment-method input[type="radio"]:checked + .method-card {
    border-color: #4c1d95;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.method-card i {
    color: #4c1d95;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.method-card span {
    color: #1a202c;
    font-weight: 500;
    font-size: 0.875rem;
}

/* Card Form */
.card-form {
    background: #f8fafc;
    border-radius: 8px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

/* Square Payment Form Styles */
#square-card-container {
    margin: 1rem 0;
}

.square-card-input {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1rem;
    background: #ffffff;
    min-height: 60px;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
}

.square-card-input:focus-within {
    border-color: #4299e1;
    box-shadow: 0 0 0 3px rgba(66, 153, 225, 0.1);
}

.square-card-input.error {
    border-color: #e53e3e;
    background-color: #fed7d7;
}

.square-card-button {
    margin-top: 1rem;
}

.payment-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
}

.payment-status.success {
    background-color: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.payment-status.error {
    background-color: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.payment-status.processing {
    background-color: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* Square form styling to match our design */
#card-container iframe {
    border: none !important;
    border-radius: 8px !important;
}

/* Fallback form styling */
#fallback-card-form .input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

/* Security Notice */
.security-notice {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1.5rem;
}

.security-notice i {
    color: #0284c7;
    font-size: 1.25rem;
}

.security-notice span {
    color: #0f172a;
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    gap: 1rem;
}

.btn-back {
    background: #f1f5f9;
    color: #64748b;
    border: 1px solid #e2e8f0;
}

.btn-back:hover {
    background: #e2e8f0;
    color: #475569;
}

.btn-next,
.btn-submit {
    margin-left: auto;
}

/* Confirmation Styles */
.confirmation-content {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    margin-bottom: 2rem;
}

.success-icon i {
    font-size: 4rem;
    color: #10b981;
}

.confirmation-content h3 {
    color: #1a202c;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem;
}

.confirmation-content > p {
    color: #64748b;
    font-size: 1.125rem;
    margin: 0 0 2rem;
}

.order-details {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.detail-item strong {
    color: #1a202c;
    font-weight: 600;
}

.detail-item span {
    color: #64748b;
}

.next-steps {
    background: #ffffff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e2e8f0;
    text-align: left;
}

.next-steps h4 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.next-steps ol {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.next-steps li {
    margin-bottom: 0.5rem;
}

/* Card Input Formatting */
#cardNumber {
    letter-spacing: 0.1em;
}

#expiryDate,
#cvv {
    text-align: center;
}

/* Animation Classes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 95vh;
        margin: 2.5%;
    }
    
    .modal-header,
    .modal-body {
        padding: 1.5rem;
    }
    
    .progress-steps {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .progress-steps::before {
        display: none;
    }
    
    .report-type-options,
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-next,
    .btn-submit {
        margin-left: 0;
        order: -1;
    }
    
    .btn-back {
        width: 100%;
    }
} 