﻿/* File: src/Presentation/PSM.Web/wwwroot/css/auth.css - DevExtreme Aligned Design - FIXED */

/* ===== CORE LAYOUT ===== */
/* Header with Logo - FIXED: Back to black background */
.auth-header {
    background: black;
    padding: 1.5rem 0;
    text-align: center;
    border-bottom: 1px solid #6b7280;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.logo {
    height: 1.75rem;
    width: auto;
}

.brand-name {
    font-family: 'Lexend', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    letter-spacing: 0.05em;
}

/* Main Container - FIXED: Reduced bottom padding to match original */
.signup-container {
    min-height: calc(100vh - 120px);
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 0 1rem; /* Back to original - no extra bottom padding */
    position: relative;
}

/* ===== STEP INDICATOR - FIXED: Restored original sizing and spacing ===== */
.steps-indicator {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    padding: 0 2rem;
    gap: 2rem;
    width: 100vw;
    max-width: 1200px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0.75rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
}

.step-circle {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #e5e7eb;
    color: #6b7280;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step.active .step-circle {
    background-color: #0d6efd;
    color: white;
}

.step.completed .step-circle {
    background-color: #10b981;
    color: white;
}

.check-icon {
    font-size: 1rem;
    font-weight: bold;
}

.step-label {
    margin-top: 0.75rem;
    text-align: center;
    max-width: 12rem;
}

.step-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #d1d5db;
    margin-bottom: 0.25rem;
    text-align: center;
}

.step-description {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.3;
    text-align: center;
}

.step-connector {
    flex: 1;
    height: 2px;
    background-color: #e5e7eb;
    margin-top: 1.25rem;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 1;
    min-width: 2rem;
}

    .step-connector.completed {
        background-color: #0d6efd;
    }

/* ===== CONTENT STYLES - DevExtreme Pattern ===== */
.signup-content {
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    padding: 1.5rem;
    max-width: 500px;
    margin: 0 auto; /* Removed bottom margin from form */
}

/* Step 3 (School Details) - Wider form with 2-column layout */
.signup-content:has(.school-details),
.signup-content.step-3-form {
    max-width: 960px !important;
}

.school-details .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Step 4 (Package Selection) - Wider container for 2x2 grid */
.signup-content:has(#packageSelectionForm) {
    max-width: 960px !important;
}

.step-header {
    text-align: center;
    margin-bottom: 1rem;
    padding-bottom: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
}

    .step-header h2 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0d6efd;
        margin-bottom: 0.375rem;
        font-family: 'Lexend', sans-serif;
    }

    .step-header p {
        color: #6b7280;
        font-size: 0.875rem;
        line-height: 1.5;
        margin-bottom: 0.25rem;
    }

/* ===== ALERT STYLES - DevExtreme Colors ===== */
.alert {
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.alert-danger {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
}

.alert-success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
}

.alert-header {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.75rem;
}

.alert-danger .alert-header {
    color: #dc2626;
}

.alert-success .alert-header {
    color: #16a34a;
}

.alert-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.alert-link {
    color: #b91c1c;
    text-decoration: underline;
    font-weight: 500;
}

.alert-link:hover {
    color: #991b1b;
    text-decoration: none;
}

.error-list {
    color: #dc2626;
    font-size: 0.65rem;
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.2;
}

/* ===== FORM STYLES - Compact DevExtreme Pattern ===== */
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
}

.form-group {
    position: relative;
    margin-bottom: 0;
}

    .form-group.full-width {
        grid-column: 1 / -1;
    }

    .form-group .row.mb-3 {
        margin-bottom: 0.5rem !important;
    }

.form-hint {
    font-size: 0.65rem;
    color: #6b7280;
    margin-top: 0.25rem;
    line-height: 1.4;
}

.form-row:last-child {
    margin-bottom: 0;
}

/* ===== FORM SECTIONS - Clean DevExtreme Style ===== */
.form-section {
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

    .form-section:hover {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    }

    .form-section h3 {
        color: #0d6efd;
        font-size: 1.1rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #0d6efd;
        font-family: 'Lexend', sans-serif;
        font-weight: 600;
    }

/* ===== CHECKBOX GROUPS - DevExtreme Style ===== */
.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.settings-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* ===== PACKAGE SELECTION - Stacked Layout ===== */

/* Stacked layout: 2x2 features (top) + horizontal selector strip (bottom) */
.plan-stacked-layout {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

/* Feature details grid — 2x2 */
.plan-features-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    min-width: 0;
}

.plan-feature-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
}

.plan-feature-card-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.35rem;
}

.plan-feature-card-name {
    font-family: 'Lexend', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.plan-feature-card-limit {
    font-family: 'Lexend', sans-serif;
    font-size: 0.7rem;
    color: #6c757d;
}

.recommended-badge-inline {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-family: 'Lexend', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 3px;
    letter-spacing: 0.3px;
}

.plan-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .plan-feature-list li {
        font-family: 'Lexend', sans-serif;
        font-size: 0.78rem;
        color: #495057;
        padding: 2px 0 2px 1.15rem;
        position: relative;
        line-height: 1.45;
    }

        .plan-feature-list li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: 700;
            font-size: 0.75rem;
        }

        .plan-feature-list li.highlight {
            font-weight: 600;
            color: #212529;
        }

.plan-feature-note {
    font-family: 'Lexend', sans-serif;
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.5;
    margin: 0;
}

/* Plan selection strip — horizontal 1x4 */
.plan-selection-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.pricing-card-compact {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
}

    .pricing-card-compact:hover {
        border-color: #0d6efd;
        box-shadow: 0 0.25rem 0.75rem rgba(84, 134, 255, 0.15);
    }

    .pricing-card-compact.selected,
    .pricing-card-compact:has(input[type="radio"]:checked) {
        border-color: #28a745;
        background: #f8fff9;
        box-shadow: 0 3px 10px rgba(40, 167, 69, 0.2);
    }

    .pricing-card-compact.recommended {
        border-color: #667eea;
    }

.plan-compact-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

    .plan-compact-inner input[type="radio"] {
        transform: scale(1.15);
        accent-color: #28a745;
        flex-shrink: 0;
    }

.plan-compact-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    gap: 0;
}

.plan-compact-name {
    font-family: 'Lexend', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
}

.plan-compact-price {
    font-family: 'Lexend', sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: #212529;
}

.plan-compact-period {
    font-weight: 400;
    font-size: 0.65rem;
    color: #6c757d;
}

.plan-compact-annual {
    font-family: 'Lexend', sans-serif;
    font-size: 0.62rem;
    color: #6c757d;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.savings-badge {
    display: inline-block;
    background: #d4edda;
    color: #155724;
    font-size: 0.58rem;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 3px;
}

.free-label {
    color: #28a745 !important;
}

.recommended-badge {
    position: absolute;
    top: -1px;
    right: -1px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    font-family: 'Lexend', sans-serif;
    font-size: 0.55rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 0 0.4rem 0 0.4rem;
    letter-spacing: 0.3px;
}

@media (max-width: 768px) {
    .plan-features-grid {
        grid-template-columns: 1fr;
    }

    .plan-selection-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .plan-selection-strip {
        grid-template-columns: 1fr;
    }
}

/* ===== PACKAGE SELECTION - Legacy Cards Grid (landing page reuse) ===== */
.pricing-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 0.5rem 0;
}

.pricing-card {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 0.5rem;
    transition: all 0.3s ease;
    position: relative;
    background: white;
    cursor: pointer;
}

    .pricing-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 0.5rem 1rem rgba(84, 134, 255, 0.15);
    }

    .pricing-card.selected,
    .pricing-card:has(input[type="radio"]:checked) {
        border-color: #28a745;
        background: #f8fff9;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    }

.plan-header {
    text-align: center;
    margin-bottom: 0.25rem;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 6px;
}

    .plan-price .currency {
        font-size: 0.75rem;
        color: #6c757d;
    }

    .plan-price .amount {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0d6efd;
    }

    .plan-price .period {
        font-size: 0.75rem;
        color: #6c757d;
    }

.plan-features {
    margin-bottom: 0.5rem;
}

    .plan-features ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .plan-features li {
        padding: 0.25rem 0;
        color: #495057;
        position: relative;
        padding-left: 1.5rem;
        font-size: 0.875rem;
    }

        .plan-features li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: #28a745;
            font-weight: 600;
        }

.plan-selection {
    text-align: center;
    margin-top: 0;
    padding-top: 0.25rem;
    border-top: 1px solid #dee2e6;
}



/* ===== DEPLOYMENT OPTIONS ===== */
.deployment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.deployment-card {
    border: 2px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
    background: white;
    cursor: pointer;
}

    .deployment-card:hover {
        border-color: #0d6efd;
        box-shadow: 0 0.5rem 1rem rgba(84, 134, 255, 0.15);
    }

    .deployment-card.selected,
    .deployment-card:has(input[type="radio"]:checked) {
        border-color: #28a745;
        background: #f8fff9;
        box-shadow: 0 4px 12px rgba(40, 167, 69, 0.2);
    }

.deployment-icon {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 1rem;
}

.deployment-content h4 {
    margin-bottom: 0.5rem;
    color: #343a40;
    font-family: 'Lexend', sans-serif;
    font-weight: 600;
}

.deployment-content p {
    color: #6c757d;
    margin-bottom: 1rem;
}

.deployment-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deployment-content li {
    padding: 0.25rem 0;
    color: #495057;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.875rem;
}

    .deployment-content li::before {
        content: '✓';
        position: absolute;
        left: 0;
        color: #0d6efd;
        font-weight: 600;
    }

.deployment-selection {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #dee2e6;
}

/* ===== FOOTER - FIXED: Added 2rem space above footer ===== */
.signup-footer {
    text-align: center;
    margin-top: 2rem; /* Increased from 1.25rem to 2rem for better spacing */
    padding-top: 1.25rem;
    border-top: 1px solid #e5e7eb;
    margin-bottom: 0;
}

    .signup-footer p {
        color: #6b7280;
        font-size: 0.875rem;
        margin: 0;
        font-family: 'Lexend', sans-serif;
    }

.link-primary {
    color: #0d6efd;
    text-decoration: none;
    font-weight: 500;
}

    .link-primary:hover {
        color: #3f71cf;
        text-decoration: underline;
    }

/* ===== EMAIL VERIFICATION STYLES ===== */
.email-verification {
    text-align: left;
}

.verification-instructions {
    background-color: rgba(84, 134, 255, 0.1);
    border: 1px solid rgba(84, 134, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

    .verification-instructions h3 {
        color: #3f71cf;
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1rem;
        font-family: 'Lexend', sans-serif;
    }

    .verification-instructions ol {
        font-size: 0.9rem;
        color: #3f71cf;
        margin: 0;
        padding-left: 0;
        list-style: none;
    }

    .verification-instructions li {
        display: flex;
        align-items: flex-start;
        margin-bottom: 0.75rem;
        line-height: 1.5;
    }

        .verification-instructions li:last-child {
            margin-bottom: 0;
        }

.step-number {
    background-color: #0d6efd;
    display: inline-flex;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0.35rem;
    flex-shrink: 0;
    padding: 0.25rem;
}

.verification-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.help-text {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
    font-family: 'Lexend', sans-serif;
}

.coming-soon {
    text-align: center;
    padding: 2rem;
    color: #6b7280;
}

/* ===== DEVEXTREME OVERRIDES - FIXED: Lexend font everywhere ===== */
.dx-button {
    font-family: 'Lexend', sans-serif !important;
    border-radius: 4px !important;
}

/* FIXED: All DevExtreme components use Lexend font */
.dx-texteditor, .dx-selectbox, .dx-checkbox, .dx-textarea, .dx-numberbox {
    font-family: 'Lexend', sans-serif !important;
}

.dx-texteditor-label .dx-label {
    font-family: 'Lexend', sans-serif !important;
}

.dx-selectbox-popup .dx-list-item {
    font-family: 'Lexend', sans-serif !important;
}

/* ===== FILE UPLOAD STYLES ===== */
.dx-fileuploader {
    border: 2px dashed #dee2e6 !important;
    border-radius: 0.5rem !important;
    background-color: #f8f9fa !important;
    padding: 1.5rem 1rem !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
    min-height: 100px !important;
    position: relative !important;
}

    .dx-fileuploader:hover {
        border-color: #0d6efd !important;
        background-color: #f0f8ff !important;
    }

    .dx-fileuploader.dx-dragover {
        border-color: #0d6efd !important;
        background-color: #e7f3ff !important;
        transform: scale(1.02) !important;
    }

.dx-fileuploader-input-container .dx-fileuploader-input-label {
    background-color: transparent !important;
    color: gray !important;
    border-radius: 0.375rem !important;
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    font-family: 'Lexend', sans-serif !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 2px 4px rgba(84, 134, 255, 0.2) !important;
}

    .dx-fileuploader-input-container .dx-fileuploader-input-label:hover {
        background-color: transparent !important;
        box-shadow: 0 4px 8px rgba(84, 134, 255, 0.3) !important;
        transform: translateY(-1px) !important;
    }

/* FileUploader Label Text */
.dx-fileuploader .dx-fileuploader-input-label + span,
.dx-fileuploader-content .dx-fileuploader-input-label + span,
.dx-fileuploader-content > span:not(.dx-fileuploader-input-label) {
    color: #0d6efd !important;
    font-weight: 400 !important;
    font-family: 'Lexend', sans-serif !important;
    font-size: 0.85rem !important;
    background-color: transparent !important;
    padding: 0 !important;
    border: none !important;
    margin-top: 0.5rem !important;
    display: block !important;
    text-align: center !important;
}

/* ===== ERROR STATES ===== */
.text-danger {
    color: #dc2626 !important;
    font-size: 0.75rem !important;
    margin-top: 0.25rem !important;
    display: block !important;
    font-family: 'Lexend', sans-serif !important;
}

/* ===== UTILITY CLASSES ===== */
.mt-2 {
    margin-top: 0.5rem;
}

#badgePreview {
    margin-top: 0.25rem;
}

    #badgePreview img {
        max-width: 100%;
        width: auto;
        height: auto;
    }

.form-label {
    display: block;
    font-weight: 500;
    color: #495057;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-family: 'Lexend', sans-serif;
}

input[type="radio"], input[type="checkbox"] {
    margin-right: 0.5rem;
    accent-color: #0d6efd;
}

/* Authorization Section - no border since we use inline separator */
.authorization-section {
    padding-top: 0.5rem;
}

/* Apply text-danger styling to DevExtreme checkbox */
.authorization-section .dx-checkbox-text,
.text-danger .dx-checkbox-text,
.text-danger.dx-checkbox .dx-checkbox-text {
    color: #dc3545 !important; /* Bootstrap danger color */
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Also ensure the checkbox label inherits the danger color */
.authorization-section label,
.authorization-section .dx-checkbox label {
    color: #dc3545 !important;
    font-size: 0.9rem !important;
}

/* Package selection card interactions */
.plan-selection input[type="radio"],
.deployment-selection input[type="radio"] {
    transform: scale(1.2);
    accent-color: #28a745;
}

.plan-selection label,
.deployment-selection label {
    cursor: pointer;
    font-weight: 500;
    color: #495057;
    font-family: 'Lexend', sans-serif;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (min-width: 768px) {
    .step-label {
        display: block;
    }

    .step-title {
        font-size: 0.875rem;
    }

    .step-description {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .signup-container {
        padding: 2rem 1rem;
    }

    .steps-indicator {
        padding: 0 1rem;
        gap: 0.5rem;
        width: calc(100vw - 2rem);
    }

    .step-connector {
        min-width: 1rem;
    }

    .step-label {
        max-width: 5rem;
    }

    .step-title {
        font-size: 0.75rem;
    }

    .step-description {
        font-size: 0.625rem;
    }

    .signup-content {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .step-header h2 {
        font-size: 1.5rem;
    }

    .verification-instructions {
        padding: 1rem;
    }

    .form-section {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

        .form-section h3 {
            font-size: 1.2rem;
        }

    .form-section-description {
        color: #555555 !important;
        font-size: 0.9rem !important;
        margin-bottom: 1rem !important;
        font-family: 'Lexend', sans-serif !important;
        line-height: 1.4 !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .pricing-plans,
    .deployment-options {
        grid-template-columns: 1fr;
    }

    /* Compact pricing cards */
    .pricing-card {
        border: 2px solid #dee2e6;
        border-radius: 0.5rem;
        padding: 0.5rem;
        transition: all 0.3s ease;
        position: relative;
        background: white;
        cursor: pointer;
        min-height: auto;
    }
    .pricing-card .plan-description {
    color: #555555 !important;
    font-size: 0.85rem !important;
    margin: 0.5rem 0 0 0 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    font-family: 'Lexend', sans-serif !important;
    visibility: visible !important;
    opacity: 1 !important;
}

    .plan-header {
        text-align: center;
        margin-bottom: 0;
    }

        .plan-header h4 {
            margin-bottom: 0;
            color: #343a40;
            font-family: 'Lexend', sans-serif;
            font-weight: 600;
            font-size: 1rem;
        }

    .plan-price {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 0.25rem;
    }

    .plan-selection {
        text-align: center;
        margin-top: 0;
        padding-top: 0.2rem;
        border-top: 1px solid #dee2e6;
    }

    .pricing-card,
    .deployment-card {
        padding: 1.25rem;
    }

    .plan-price .amount {
        font-size: 1.25rem;
    }

    .deployment-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .signup-content {
        padding: 1rem;
    }

    .form-section {
        padding: 1rem;
    }

    .step-header h2 {
        font-size: 1.25rem;
    }

    .dx-fileuploader {
        min-height: 70px !important;
        padding: 1rem !important;
    }

    .brand-name {
        font-size: 1.5rem;
    }

    .logo {
        height: 1.5rem;
    }
}

/* ===== LOGIN SPECIFIC STYLES ===== */
.login-container {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-family: 'Lexend', sans-serif;
}

.login-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 560px;

}

.login-card {
    display: grid;
    grid-template-columns: 1fr 2fr;
    background: white;
    border-radius: 0.75rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    width: 100%;
    min-height: 360px;
}

.login-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    padding: 0.15rem 0.25rem 0.15rem 1rem;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-form-container {
    padding: 1.5rem 2.5rem 1.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
    box-shadow: none;
    border-radius: 0;
    max-width: none;
}

.login-header-text {
    text-align: center;
    margin-bottom: 1.5rem;
}

    .login-header-text h2 {
        font-size: 1.75rem;
        font-weight: 700;
        color: #0d6efd;
        margin-bottom: 0.375rem;
        font-family: 'Lexend', sans-serif;
    }

    .login-header-text p {
        color: #6b7280;
        font-size: 1rem;
        line-height: 1.5;
        margin: 0;
        font-family: 'Lexend', sans-serif;
    }

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.forgot-password a {
    color: #0d6efd;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: 'Lexend', sans-serif;
}

    .forgot-password a:hover {
        color: #3f71cf;
        text-decoration: underline;
    }

.login-footer {
    text-align: center;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid #e5e7eb;
}

    .login-footer p {
        color: #6b7280;
        font-size: 0.875rem;
        margin: 0;
        font-family: 'Lexend', sans-serif;
    }

/* Responsive Login Styles */
        @media (max-width: 768px) {
            .login-card {
                grid-template-columns: 1fr;
                min-height: auto;
            }

            .login-image {
                order: -1;
                min-height: 200px;
            }

            .hero-image {
                aspect-ratio: 16/9;
            }

            .login-form-container {
                padding: 2rem 1.5rem;
            }

            .login-header-text h2 {
                font-size: 1.5rem;
            }

            .form-options {
                flex-direction: column;
                align-items: flex-start;
                gap: 0.75rem;
            }
        }

        @media (max-width: 480px) {
            .login-container {
                padding: 0.5rem;
            }

            .login-form-container {
                padding: 1.5rem;
            }
        }


/* ===== EMAIL VERIFICATION PAGE STYLES ===== */
.verify-email-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Lexend', sans-serif;
}

.verify-content {
    max-width: 600px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    padding: 3rem;
    text-align: center;
}

.verification-actions-email {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.verification-status {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.status-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
}

.verification-status.loading .status-icon {
    background: linear-gradient(135deg, #0d6efd, #9c27b0);
}

.verification-status.success .status-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.verification-status.error .status-icon {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

/* Loading spinner */
.loading-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

    .loading-spinner.large {
        width: 40px;
        height: 40px;
        border-width: 4px;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Typography for verification */

.verification-status p {
    font-size: 1rem;
    color: #718096;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    max-width: 450px;
    font-family: 'Lexend', sans-serif;
}

/* ===== STEP ANIMATIONS ===== */

/* Step activation animation */
.step.active {
    animation: stepActivated 0.5s ease-out;
}

@keyframes stepActivated {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Step completion animation */
.step.completed .step-circle {
    animation: stepCompleted 0.6s ease-out;
}

@keyframes stepCompleted {
    0% {
        transform: scale(1);
        background-color: #e5e7eb;
    }

    50% {
        transform: scale(1.15);
        background-color: #10b981;
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    }

    100% {
        transform: scale(1);
        background-color: #10b981;
        box-shadow: none;
    }
}

/* Connector completion animation */
.step-connector.completed {
    background: linear-gradient(90deg, #e5e7eb 0%, #0d6efd 100%);
    animation: connectorFill 0.8s ease-out;
}

@keyframes connectorFill {
    0% {
        background: linear-gradient(90deg, #e5e7eb 0%, #e5e7eb 100%);
    }

    100% {
        background: linear-gradient(90deg, #0d6efd 0%, #0d6efd 100%);
    }
}

/* Step label fade-in animation */
.step.active .step-label {
    animation: labelFadeIn 0.4s ease-out 0.3s both;
}

@keyframes labelFadeIn {
    0% {
        opacity: 0.7;
        transform: translateY(5px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Check mark animation */
.step.completed .check-icon {
    animation: checkMarkPop 0.4s ease-out 0.2s both;
}

@keyframes checkMarkPop {
    0% {
        opacity: 0;
        transform: scale(0.3) rotate(-45deg);
    }

    70% {
        transform: scale(1.1) rotate(5deg);
    }

    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

/* Content section entrance animation */
.signup-content {
    animation: contentSlideIn 0.6s ease-out;
}

@keyframes contentSlideIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Form section staggered entrance */
.form-section {
    animation: sectionFadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

    .form-section:nth-child(1) {
        animation-delay: 0.1s;
    }

    .form-section:nth-child(2) {
        animation-delay: 0.2s;
    }

    .form-section:nth-child(3) {
        animation-delay: 0.3s;
    }

    .form-section:nth-child(4) {
        animation-delay: 0.4s;
    }

    .form-section:nth-child(5) {
        animation-delay: 0.5s;
    }

    .form-section:nth-child(6) {
        animation-delay: 0.6s;
    }

    .form-section:nth-child(7) {
        animation-delay: 0.7s;
    }

@keyframes sectionFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-20px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== ENHANCED INTERACTIONS ===== */

/* Card selection animations */
.pricing-card.animate-selection,
.deployment-card.animate-selection {
    animation: cardSelected 0.3s ease-out;
}

@keyframes cardSelected {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 20px rgba(40, 167, 69, 0.3);
    }

    100% {
        transform: scale(1);
    }
}

/* Enhanced card hover effects with shimmer */
.pricing-card,
.deployment-card {
    position: relative;
    overflow: hidden;
}

    .pricing-card::before,
    .deployment-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(84, 134, 255, 0.1), transparent);
        transition: left 0.5s ease;
    }

    .pricing-card:hover::before,
    .deployment-card:hover::before {
        left: 100%;
    }

/* Button loading animation */
.dx-button.dx-state-loading .dx-button-content {
    animation: buttonPulse 1.5s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Form validation error shake */
.form-section.validation-error,
.pricing-plans.validation-error,
.deployment-options.validation-error {
    animation: validationShake 0.5s ease-out;
}

@keyframes validationShake {
    0%, 100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* Field completion animation */
.dx-texteditor.field-completed {
    animation: fieldCompleted 0.5s ease-out;
}

@keyframes fieldCompleted {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    }

    100% {
        transform: scale(1);
    }
}

/* Progress bar animation for sections */
.section-progress {
    height: 3px;
    background-color: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin: 0.5rem 0 1rem 0;
}

.section-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0d6efd, #10b981);
    width: 0%;
    transition: width 0.8s ease;
    border-radius: 2px;
    animation: progressGlow 2s ease-in-out infinite;
}

@keyframes progressGlow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(84, 134, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 15px rgba(84, 134, 255, 0.6);
    }
}

/* Section completion state */
.form-section.section-completed {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fff4, #fafafa);
    animation: sectionCompleted 0.6s ease-out;
}

    .form-section.section-completed h3 {
        color: #10b981;
    }

        .form-section.section-completed h3::after {
            content: ' ✓';
            color: #10b981;
            font-size: 0.9rem;
            animation: checkBounce 0.6s ease-out;
        }

@keyframes sectionCompleted {
    0% {
        border-color: #e9ecef;
        background: #ffffff;
    }

    50% {
        border-color: #10b981;
        background: linear-gradient(135deg, #f0fff4, #ffffff);
        transform: scale(1.01);
    }

    100% {
        border-color: #10b981;
        background: linear-gradient(135deg, #f0fff4, #fafafa);
        transform: scale(1);
    }
}

@keyframes checkBounce {
    0% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* File upload animation */
.dx-fileuploader {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading states for dropdowns */
.dx-selectbox.loading-state {
    position: relative;
    opacity: 0.7;
}

    .dx-selectbox.loading-state::after {
        content: '';
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        width: 16px;
        height: 16px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #0d6efd;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    .step.active,
    .step.completed .step-circle,
    .step-connector.completed,
    .step.active .step-label,
    .step.completed .check-icon,
    .signup-content,
    .form-section,
    .pricing-card.animate-selection,
    .deployment-card.animate-selection,
    .dx-button.dx-state-loading .dx-button-content,
    .form-section.validation-error,
    .pricing-plans.validation-error,
    .deployment-options.validation-error,
    .dx-texteditor.field-completed,
    .section-progress-bar,
    .form-section.section-completed,
    .dx-fileuploader {
        animation: none !important;
    }

    .pricing-card::before,
    .deployment-card::before {
        display: none !important;
    }

    .section-progress-bar {
        transition: width 0.3s ease !important;
    }
}

/* ===== ENHANCED UX STYLES ===== */

/* Notification System */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.enhanced-notification {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 6px;
    border: 1px solid;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.85rem;
    animation: slideInRight 0.3s ease-out;
    font-family: 'Lexend', sans-serif;
}

    .enhanced-notification.success {
        border-color: #10b981;
        background: linear-gradient(135deg, #f0fff4, #ecfdf5);
    }

    .enhanced-notification.error {
        border-color: #ef4444;
        background: linear-gradient(135deg, #fef2f2, #fee2e2);
    }

    .enhanced-notification.info {
        border-color: #3b82f6;
        background: linear-gradient(135deg, #eff6ff, #dbeafe);
    }

.notification-icon {
    margin-right: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
}

.enhanced-notification.success .notification-icon {
    color: #10b981;
}

.enhanced-notification.error .notification-icon {
    color: #ef4444;
}

.enhanced-notification.info .notification-icon {
    color: #3b82f6;
}

.notification-message {
    flex: 1;
    color: #374151;
    font-family: 'Lexend', sans-serif;
}

.notification-close {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    color: #6b7280;
    margin-left: 0.5rem;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .notification-close:hover {
        color: #374151;
    }

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Additional Utility Classes */
.image-preview {
    text-align: center;
    padding: 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    background: #f8f9fa;
}

    .image-preview img {
        max-width: 200px;
        max-height: 200px;
        border-radius: 8px;
        border: 1px solid #ddd;
        margin-bottom: 0.5rem;
    }

.preview-info {
    margin-top: 0.5rem;
}

    .preview-info small {
        display: block;
        color: #6c757d;
        font-size: 0.75rem;
        line-height: 1.3;
        font-family: 'Lexend', sans-serif;
    }

.preview-actions {
    margin-top: 0.75rem;
}

    .preview-actions .btn {
        font-size: 0.75rem;
        padding: 0.25rem 0.75rem;
        font-family: 'Lexend', sans-serif;
    }

/* Upload progress and messages */
.upload-progress {
    margin-top: 0.5rem;
    text-align: center;
}

.upload-message {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    font-family: 'Lexend', sans-serif;
}

/* Form submission loading states */
.form-submitting {
    pointer-events: none;
    opacity: 0.8;
}

    .form-submitting .dx-texteditor,
    .form-submitting .dx-selectbox,
    .form-submitting .dx-checkbox {
        pointer-events: none;
    }

/* Enhanced Button States */
.dx-button.dx-state-loading {
    pointer-events: none;
    opacity: 0.8;
}

.dx-button .loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 0.5rem;
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .enhanced-notification {
        background: #1f2937;
        border-color: #374151;
        color: #f9fafb;
    }

    .notification-message {
        color: #f9fafb;
    }
}

.sms-warning {
    font-size: 0.65rem !important;
    color: #dc2626 !important;
    margin-top: 0.25rem !important;
    font-family: 'Lexend', sans-serif !important;
    line-height: 1.3 !important;
}

/* Badge Upload Styles */
.badge-upload-container {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 0.5rem;
    background-color: #f8f9fa;
}

.badge-preview-container {
    margin-top: 1rem;
}

.badge-preview-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 6px;
}

.badge-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    background: #f8f9fa;
}

.badge-preview-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

.badge-info {
    flex: 1;
}

    .badge-info p {
        margin-bottom: 0.25rem;
    }

/* ===== STAFF PROFILE CHECK STYLES ===== */
.staff-check-wrapper {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 2rem;
}

.staff-check-wrapper .form-check {
    cursor: pointer;
}

.staff-check-wrapper .form-check-input {
    cursor: pointer;
}

.staff-check-wrapper .form-check-label {
    cursor: pointer;
}

/* DevExtreme read-only TextBox styling */
.dx-textbox.dx-state-readonly .dx-texteditor-input {
    background-color: #f8f9fa !important;
    color: #6c757d !important;
    cursor: not-allowed !important;
}

.dx-textbox.dx-state-readonly {
    background-color: #f8f9fa !important;
}

.dx-textbox.dx-state-readonly .dx-texteditor-input::placeholder {
    color: #adb5bd !important;
}


/* ====== OTHER ====== */
.tiny-print {
    padding: 0.25rem;
    font-size: 0.65rem;
    line-height: 0.5;
    color: gray;
    text-align: center;
}

