/* Custom CSS for Laxvia Application Form */

/* Screenshot Upload Styles */
.screenshot-upload-item {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    background-color: rgba(248, 249, 250, 0.5);
    transition: var(--transition);
}

.screenshot-upload-item:hover {
    background-color: rgba(248, 249, 250, 0.8);
    border-color: var(--info-color);
}

.screenshot-preview {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px dashed #dee2e6;
    border-radius: var(--border-radius);
    background-color: rgba(248, 249, 250, 0.8);
    text-align: center;
}

.screenshot-preview img {
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.screenshot-preview img:hover {
    transform: scale(1.05);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.remove-preview {
    margin-top: 0.5rem;
}

/* Screenshot Review List */
.screenshot-review-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.screenshot-review-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    text-align: center;
    transition: var(--transition);
}

.screenshot-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1);
}

.screenshot-review-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: 0.5rem;
}

.screenshot-review-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #212529;
    margin-bottom: 0.25rem;
}

.screenshot-review-size {
    font-size: 0.75rem;
    color: #6c757d;
}

/* Enhanced Wizard Progress Bar */
.wizard-progress {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e9ecef 0%, #dee2e6 100%);
    z-index: 1;
    border-radius: 2px;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    cursor: pointer;
    transition: var(--transition);
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50%;
    width: 0;
    height: 0;
    border-left: 12px solid #e9ecef;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    transform: translateY(-50%);
    z-index: -1;
    transition: var(--transition);
}

.step.completed:not(:last-child)::after {
    border-left-color: #278C55;
}

.step.active:not(:last-child)::after {
    border-left-color: #278C55;
}

.step-number {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.step.active .step-number {
    background: #C8102E;
    color: white;
    box-shadow: 0 0 0 6px rgba(253, 126, 20, 0.2), 0 4px 8px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #278C55;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #6c757d;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.step.active .step-title {
    color: #000000D9;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.step.completed .step-title {
    color: #000000D9;
    font-weight: 600;
}

.step:hover .step-number {
    transform: scale(1.15);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.step:hover .step-title {
    color: #404040;
    transform: translateY(-1px);
}

/* Wizard Step Content */
.wizard-step-content {
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Wizard Navigation Buttons */
.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.wizard-navigation .btn {
    min-width: 120px;
}

/* Review Section Styles */
.review-section {
    background: #f8f9fa;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.review-section h6 {
    color: #000000D9;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #000000D9;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

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

.review-label {
    font-weight: 500;
    color: #495057;
}

.review-value {
    color: #212529;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

.review-empty {
    color: #6c757d;
    font-style: italic;
}

/* Document Review List */
.document-review-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.document-review-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.document-review-item:last-child {
    margin-bottom: 0;
}

.document-name {
    font-weight: 500;
    color: #212529;
}

.document-size {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Mobile Responsive Wizard */
@media (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
        align-items: stretch;
    }
    
    .wizard-steps::before {
        display: none;
    }
    
    .step {
        display: flex;
        align-items: center;
        padding: 0.75rem;
        margin-bottom: 0.5rem;
        background: #f8f9fa;
        border-radius: var(--border-radius);
        cursor: pointer;
    }
    
    .step:not(:last-child)::after {
        display: none;
    }
    
    .step-number {
        margin: 0;
        margin-right: 1rem;
        width: 30px;
        height: 30px;
        font-size: 0.875rem;
    }
    
    .step-title {
        text-align: left;
        margin: 0;
    }
    
    .step.active {
        background: rgba(253, 126, 20, 0.1);
        border: 1px solid #fd7e14;
    }
    
    .step.completed {
        background: rgba(253, 126, 20, 0.05);
        border: 1px solid rgba(253, 126, 20, 0.3);
    }
    
    .wizard-navigation {
        flex-direction: column;
    }
    
    .wizard-navigation .btn {
        width: 100%;
        order: 2;
    }
    
    .wizard-navigation .btn:first-child {
        order: 1;
    }
    
    .review-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-value {
        text-align: left;
        max-width: 100%;
        margin-top: 0.25rem;
    }
}

@media (max-width: 576px) {
    .step-number {
        width: 25px;
        height: 25px;
        font-size: 0.75rem;
    }
    
    .step-title {
        font-size: 0.8rem;
    }
    
    .wizard-navigation .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
}

/* Loading State for Wizard */
.wizard-loading {
    position: relative;
    pointer-events: none;
}

.wizard-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.wizard-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
:root {
    --primary-color: #0d6efd;
    --secondary-color: #2c2c2c;
    --success-color: #198754;
    --info-color: #0dcaf0;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-radius: 0.375rem;
    --box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --transition: all 0.3s ease;
}

body {

    background: #f5f5f5;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Alternative Background Options - Uncomment to use */
/* body {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
} */

/* body {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
} */

/* body {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
} */

/* body {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
} */

/* body {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
} */

/* Card Styles */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.card-header {
    border-radius: var(--border-radius) var(--border-radius) 0 0 !important;
    font-weight: 600;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

/* Form Controls */
.form-control, .form-select {
    border-radius: var(--border-radius);
    border: 1px solid #dee2e6;
    transition: var(--transition);
    background-color: rgba(255, 255, 255, 0.9);
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
    background-color: white;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Button Styles */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: #257047;
}

.btn-primary:hover {
    background: #257047;
    transform: translateY(-1px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.15);
}

.btn-success {
    background: #257047;
}

.btn-success:hover {
    background: #257047;
    transform: translateY(-1px);
}

.btn-danger {
    background: linear-gradient(45deg, var(--danger-color), #b02a37);
}

.btn-danger:hover {
    background: linear-gradient(45deg, #b02a37, var(--danger-color));
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Document Upload Section */
.document-upload-item {
    padding: 1rem;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    background-color: rgba(248, 249, 250, 0.5);
    transition: var(--transition);
}

.document-upload-item:hover {
    background-color: rgba(248, 249, 250, 0.8);
    border-color: var(--primary-color);
}

/* Animation for new document upload items */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.document-upload-item.new-item {
    animation: slideIn 0.3s ease-out;
}

/* Loading Spinner */
.spinner-border-sm {
    width: 1rem;
    height: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 1rem;
    }
    
    .card-header h5 {
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .col-md-6 {
        margin-bottom: 1rem;
    }
    
    .btn-lg {
        display: block;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .btn-lg.ms-2 {
        margin-left: 0 !important;
    }
}

/* Form Validation Styles */
.was-validated .form-control:valid, .was-validated .form-select:valid {
    border-color: var(--success-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid, .was-validated .form-select:invalid {
    border-color: var(--danger-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* Accessibility */
.visually-hidden-focusable:focus {
    position: static !important;
    width: auto !important;
    height: auto !important;
}

/* Print Styles */
@media print {
    body {
        background: white;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #dee2e6;
    }
    
    .btn {
        display: none;
    }
}

/* Performance Optimizations */
.card, .form-control, .form-select, .btn {
    will-change: transform;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for better accessibility */
.form-control:focus, .form-select:focus, .btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}
.iti--allow-dropdown input, .iti--allow-dropdown input[type=text], .iti--allow-dropdown input[type=tel], .iti--separate-dial-code input, .iti--separate-dial-code input[type=text], .iti--separate-dial-code input[type=tel] {
    padding-right: 6px;
    padding-left: 52px;
    margin-left: 0;
    width: 150%;
}
.bg-badgesecondary {
    /* --bs-bg-opacity: 1; */
    background-color: #000000D6;
}