/* Virtual Demo page specific styles */

@media (max-width: 768px) {
    #app {
        padding-top: 94px !important;
    }
}

/* Custom Checkbox Styling */
.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.75rem;
}

.custom-checkbox-label:hover {
    background: rgba(62, 64, 149, 0.03);
}

.checkbox-box {
    width: 24px;
    height: 24px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.checkbox-box i {
    font-size: 0.75rem;
    color: #ffffff;
    transform: scale(0);
    transition: transform 0.2s ease;
}

input[type="checkbox"]:checked+.checkbox-box {
    background: #3e4095 !important;
    /* Axicon Primary Dark */
    border-color: #3e4095 !important;
    box-shadow: 0 0 12px rgba(62, 64, 149, 0.3);
    transform: scale(1.05);
}

input[type="checkbox"]:checked+.checkbox-box i {
    color: #ffffff !important;
    /* Ensure checkmark is pure white */
    transform: scale(1);
    animation: check-bounce 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

@keyframes check-bounce {
    0% {
        transform: scale(0);
    }

    70% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.custom-checkbox-label:active .checkbox-box {
    transform: scale(0.9);
    /* Press effect */
}

.custom-checkbox-label:hover .checkbox-box {
    border-color: var(--brand-primary);
}

/* Character Counter Gradient/Muted look */
#charCount {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Form Input Focus Overrides for consistency */
input:focus,
textarea:focus {
    background: #ffffff !important;
}

/* Mobile Grid Adjustments */
@media (max-width: 640px) {
    .custom-checkbox-label {
        padding: 0.75rem 0.5rem;
    }

    .checkbox-box {
        width: 22px;
        height: 22px;
    }
}

/* Standardize option text color */
.form-option-text {
    color: #3a6092 !important;
}
