/* ============================================================================
   PRESENT CHECKBOX STYLING - PREMIUM & PROFESSIONAL
   Add this to your main CSS file or in a <style> tag in index.html
   ============================================================================ */

   .present-checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    user-select: none;
    height: 48px; /* ← FIXED HEIGHT */
    min-height: 48px;
    box-sizing: border-box;
}

.present-checkbox-wrapper:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-1px);
}

.present-checkbox-wrapper.checked {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-color: #3b82f6;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.present-checkbox-container {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.present-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin: 0;
}

.present-checkbox-custom {
    position: absolute;
    top: 0;
    left: 0;
    width: 22px;
    height: 22px;
    background: white;
    border: 2.5px solid #cbd5e1;
    border-radius: 6px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.present-checkbox-container input[type="checkbox"]:checked ~ .present-checkbox-custom {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.present-checkbox-custom::after {
    content: '';
    position: absolute;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.present-checkbox-container input[type="checkbox"]:checked ~ .present-checkbox-custom::after {
    transform: rotate(45deg) scale(1);
}

.present-checkbox-label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    transition: color 0.3s;
    cursor: pointer;
}

.present-checkbox-wrapper.checked .present-checkbox-label {
    color: #1e40af;
}

/* Disabled state for end date when present is checked */
input.date-input:disabled {
    background: #f1f5f9 !important;
    color: #94a3b8 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
    border-color: #e2e8f0 !important;
}

.form-group.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.form-group.disabled label {
    color: #94a3b8;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .present-checkbox-wrapper {
        padding: 0 14px;
        gap: 8px;
        height: 44px;
        min-height: 44px;
    }

    .present-checkbox-container {
        width: 20px;
        height: 20px;
    }

    .present-checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .present-checkbox-label {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .present-checkbox-wrapper {
        padding: 0 12px;
        height: 42px;
        min-height: 42px;
    }

    .present-checkbox-label {
        font-size: 12px;
    }
}



