/* ============================================================
   SNATCH — RESOLUTION CENTER CSS
   ============================================================ */

.resolution-center {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 20px 80px;
    position: relative;
    z-index: 10;
}

/* ── Header ── */
.rc-header {
    text-align: center;
    margin-bottom: 44px;
}

.rc-title {
    font-family: 'Audiowide', 'Orbitron', var(--font-family);
    font-size: clamp(1.55rem, 4vw, 2.6rem);
    font-weight: 400;
    margin-bottom: 14px;
    letter-spacing: 0.3px;
    line-height: 1.22;
    background: linear-gradient(90deg, #00f3ff, #8b5cf6, #00ff66, #00f3ff);
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    animation: textShine 3s linear infinite;
}

.rc-warning {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
}

.rc-warning-highlight {
    color: #ff3333;
    font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.5);
}

/* ── Glass Box Form Container ── */
.glass-box {
    background: #08080d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none !important;
    border-radius: 24px;
    padding: 50px;
    position: relative;
    overflow: hidden;
}

/* ── Form Elements ── */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.flex-row {
    display: flex;
    gap: 20px;
}

.flex-half {
    flex: 1;
}

.rc-label {
    display: block;
    color: #cbd5e1;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
}

.required {
    color: #ff3333;
}

/* ── Inputs ── */
.rc-input, .rc-textarea, .rc-select, .rc-file {
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    color: #ffffff;
    font-family: var(--font-secondary, inherit);
    font-size: 1.05rem;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    line-height: 1.6;
}

.rc-textarea {
    resize: vertical;
    min-height: 120px;
}

.rc-input:focus, .rc-textarea:focus, .rc-select:focus {
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.02);
    outline: none;
}

/* Inline Error Messages (CSS-only validation) */
.inline-error {
    display: none;
    color: #ff3333;
    font-size: 0.85rem;
    margin-top: 8px;
    font-weight: 500;
    animation: fadeIn 0.3s ease;
}

.rc-input:not(:placeholder-shown):invalid,
.rc-textarea:not(:placeholder-shown):invalid {
    border-color: #ff3333;
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.3);
}

.rc-input:not(:placeholder-shown):invalid ~ .inline-error,
.rc-textarea:not(:placeholder-shown):invalid ~ .inline-error {
    display: block;
}

.rc-input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.rc-input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

.rc-select {
    appearance: none;
    cursor: pointer;
}

.rc-select option {
    background: #0f172a;
    color: #fff;
}

/* ── Custom Dropdown ── */
.custom-dropdown {
    position: relative;
    width: 100%;
    user-select: none;
}

.dropdown-selected {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 16px 20px;
    font-family: var(--font-secondary, inherit);
    font-size: 1.05rem;
    color: #fff;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    line-height: 1.6;
}

.dropdown-selected:hover {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Glass Pill Effect on Open */
.custom-dropdown.open .dropdown-selected {
    border-color: #00d2ff;
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.3);
    background: rgba(0, 210, 255, 0.02);
}

.custom-dropdown.open .chevron {
    transform: rotate(180deg);
    color: #00d2ff;
}

.chevron {
    transition: all 0.3s ease;
    color: #94a3b8;
}

/* Validation Input (for native tooltips on custom UI elements) */
.validation-input {
    opacity: 0;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: -1;
}

.dropdown-options {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #08080d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    box-shadow: none !important;
    overflow: hidden;
    z-index: 50;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.98);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 8px; /* Room for pill */
    position: relative; /* So the absolute pill stays inside */
}

/* Because .dropdown-options needs to be absolute for dropdown dropdown, 
   but we also want it to position the pill... wait, it is already absolute.
   The pill will be relative to it, which is perfect. */
.dropdown-options {
    position: absolute; /* Re-affirm absolute */
}

.custom-dropdown.open .dropdown-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.dropdown-active-pill {
    position: absolute;
    left: 0;
    top: 0;
    background: rgba(0, 210, 255, 0.05);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 99px;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
}

.dropdown-option {
    position: relative;
    z-index: 2;
    padding: 12px 20px;
    cursor: pointer;
    color: #cbd5e1;
    transition: all 0.3s ease;
    border-radius: 99px; /* Pill shape for options */
    margin-bottom: 2px;
    background: transparent !important;
    border: 1px solid transparent !important;
}

.dropdown-option:last-child {
    margin-bottom: 0;
}

.dropdown-option:hover {
    color: #fff;
    padding-left: 24px;
}

/* ── Clear File Buttons & Wrapper ── */
.file-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.file-upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 50px;
    color: #ffffff;
    background: rgba(0, 210, 255, 0.05);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    padding: 0 20px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    cursor: pointer;
    transform: translateZ(0);
}

.file-upload-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.clear-file-btn {
    display: none;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: rgba(255, 0, 85, 0.1) !important;
    border: 1.5px solid rgba(255, 0, 85, 0.7) !important;
    box-shadow: 0 0 12px rgba(255, 0, 85, 0.4), inset 0 0 6px rgba(255, 0, 85, 0.2) !important;
    color: #ff0055 !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.clear-file-btn:hover {
    background: rgba(255, 0, 85, 0.25) !important;
    border-color: #ff0055 !important;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.75), inset 0 0 10px rgba(255, 0, 85, 0.4) !important;
    transform: scale(1.1) rotate(90deg) !important;
    color: #ff0055 !important;
}

.clear-file-btn:active {
    transform: scale(0.95) !important;
}

/* ── File Preview Container ── */
.file-preview-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.file-preview-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.file-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.file-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-preview-item .doc-icon {
    font-size: 24px;
    margin-bottom: 4px;
}

.file-preview-item .doc-name {
    font-size: 0.65rem;
    color: #cbd5e1;
    text-align: center;
    max-width: 90%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.remove-preview-btn {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 50% !important;
    background: rgba(255, 0, 85, 0.1) !important;
    border: 1.5px solid rgba(255, 0, 85, 0.7) !important;
    box-shadow: 0 0 12px rgba(255, 0, 85, 0.4), inset 0 0 6px rgba(255, 0, 85, 0.2) !important;
    color: #ff0055 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    padding: 0 !important;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-sizing: border-box !important;
}

.remove-preview-btn:hover {
    background: rgba(255, 0, 85, 0.25) !important;
    border-color: #ff0055 !important;
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.75), inset 0 0 10px rgba(255, 0, 85, 0.4) !important;
    transform: scale(1.1) rotate(90deg) !important;
    color: #ff0055 !important;
}

.remove-preview-btn:active {
    transform: scale(0.95) !important;
}

/* Uploaded file preview items & containers must NEVER fade during transmission */
.file-preview-container,
.file-preview-wrapper,
.file-preview-item,
.file-preview-item img,
.file-preview-item .doc-icon,
.file-preview-item .doc-name {
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto !important;
}

a.file-preview-item {
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}
a.file-preview-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

/* ── Dynamic Fields Area ── */
.dynamic-fields-wrapper {
    position: relative;
    min-height: 50px;
    transition: height 0.4s ease;
}

.dynamic-group {
    display: none;
    opacity: 0;
    transform: translateY(15px);
    animation: formFadeInUp 0.4s forwards ease-out;
}

.dynamic-group.active {
    display: block;
}

@keyframes formFadeInUp {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ── Checkbox (DMCA) ── */
.dmca-warning-box {
    background: rgba(255, 51, 51, 0.1);
    border: 1px dashed rgba(255, 51, 51, 0.4);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.rc-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #ff3333;
    cursor: pointer;
}

.rc-checkbox-label {
    color: #fff;
    font-size: 0.95rem;
    cursor: pointer;
    user-select: none;
}

/* ── Severity Level Radio Buttons ── */
.severity-options {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

@media (max-width: 600px) {
    .severity-options {
        flex-direction: column;
    }
}

.severity-lbl {
    flex: 1;
    cursor: pointer;
    position: relative;
}

.severity-lbl input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.severity-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 99px;
    color: #ffffff;
    font-weight: 600;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
    transition: all 0.3s ease;
}

/* Severity colors stay — dot always shows its severity color */
.severity-lbl.low .severity-box .dot {
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88, 0 0 4px #00ff88;
}
.severity-lbl.medium .severity-box .dot {
    background: #ffd700;
    box-shadow: 0 0 10px #ffd700, 0 0 4px #ffd700;
}
.severity-lbl.critical .severity-box .dot {
    background: #ff0055;
    box-shadow: 0 0 10px #ff0055, 0 0 4px #ff0055;
}

/* Low (Neon Green) */
.severity-lbl.low input:checked ~ .severity-box,
.severity-lbl.low:hover .severity-box {
    border-color: #00ff88;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.35), inset 0 0 10px rgba(0, 255, 136, 0.15);
    text-shadow: 0 0 8px rgba(0, 255, 136, 0.6);
}
.severity-lbl.low input:checked ~ .severity-box .dot,
.severity-lbl.low:hover .severity-box .dot {
    background: #00ff88;
    box-shadow: 0 0 14px #00ff88, 0 0 6px #00ff88;
}

/* Medium (Neon Golden / Yellow) */
.severity-lbl.medium input:checked ~ .severity-box,
.severity-lbl.medium:hover .severity-box {
    border-color: #ffd700;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.35), inset 0 0 10px rgba(255, 215, 0, 0.15);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}
.severity-lbl.medium input:checked ~ .severity-box .dot,
.severity-lbl.medium:hover .severity-box .dot {
    background: #ffd700;
    box-shadow: 0 0 14px #ffd700, 0 0 6px #ffd700;
}

/* Critical (Neon Red / Pink) */
.severity-lbl.critical input:checked ~ .severity-box,
.severity-lbl.critical:hover .severity-box {
    border-color: #ff0055;
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    color: #ff0055;
    background: rgba(255, 0, 85, 0.1);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.35), inset 0 0 10px rgba(255, 0, 85, 0.15);
    text-shadow: 0 0 8px rgba(255, 0, 85, 0.6);
}
.severity-lbl.critical input:checked ~ .severity-box .dot,
.severity-lbl.critical:hover .severity-box .dot {
    background: #ff0055;
    box-shadow: 0 0 14px #ff0055, 0 0 6px #ff0055;
}

/* ── Submit Button (Matching Theme Footer Pill Glass Style) ── */
.submit-btn {
    width: 100%;
    margin-top: 30px;
    padding: 14px 28px;
    background: rgba(0, 210, 255, 0.05);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.2), inset 0 2px 10px rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-radius: 99px;
    font-family: var(--font-primary, 'Orbitron', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(0);
    will-change: transform, border-color, box-shadow;
    backface-visibility: hidden;
    transition: all var(--duration-normal, 0.25s) ease;
    z-index: 1;
}

.submit-btn::before {
    display: none;
}

.submit-btn:hover {
    background: rgba(0, 210, 255, 0.1);
    border-color: rgba(0, 210, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 210, 255, 0.3), inset 0 2px 10px rgba(255, 255, 255, 0.2);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 4px 20px rgba(0, 210, 255, 0.1) !important;
    border-color: rgba(0, 210, 255, 0.2) !important;
}

.submit-btn.btn-success {
    background: rgba(0, 255, 136, 0.08) !important;
    border: 1px solid #00ff88 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.6) !important;
    color: #00ff88 !important;
    box-shadow: 0 4px 25px rgba(0, 255, 136, 0.4), inset 0 2px 10px rgba(0, 255, 136, 0.2) !important;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.6) !important;
    cursor: default !important;
    pointer-events: none !important;
    opacity: 1 !important;
    letter-spacing: 2px !important;
    transform: none !important;
}

.submit-btn.btn-success::before {
    display: none !important;
}

/* Form Status Message */

.form-status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    animation: fadeGlitchIn 0.3s forwards;
}

.status-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Custom Local Scrollbar for Textareas */
textarea.rc-textarea {
    scrollbar-width: none !important; /* Firefox */
    padding-right: 20px; /* Leave space for custom scrollbar */
    resize: none;
    overflow-y: auto;
    min-height: 120px;
    max-height: 250px;
}
textarea.rc-textarea::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
}

.ta-scroll-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}

.ta-scrollbar {
    position: absolute;
    right: 6px;
    top: 4px;
    bottom: 4px;
    width: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2px 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.ta-scrollbar.visible {
    opacity: 1;
    pointer-events: all;
}

.ta-csb-btn {
    width: 10px;
    height: 18px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 99px;
    background: rgba(0, 210, 255, 0.08);
    border: 1px solid rgba(0, 210, 255, 0.25);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.2);
    transition: all 0.25s ease;
    user-select: none;
}
.ta-csb-btn:hover {
    background: rgba(0, 210, 255, 0.25);
    border-color: rgba(0, 210, 255, 0.6);
    box-shadow: 0 0 14px rgba(0, 210, 255, 0.5), 0 0 28px rgba(0, 210, 255, 0.2);
}
.ta-csb-btn:active {
    background: rgba(0, 210, 255, 0.5);
    border-color: rgba(0, 210, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 210, 255, 0.8), 0 0 40px rgba(0, 210, 255, 0.4);
    transform: scale(0.92);
}
.ta-csb-btn svg {
    width: 8px;
    height: 8px;
    stroke: #00d2ff;
    opacity: 0.85;
    pointer-events: none;
}

.ta-csb-track {
    flex: 1;
    width: 10px;
    position: relative;
    margin: 4px 0;
    cursor: pointer;
}

.ta-csb-thumb {
    position: absolute;
    left: 0;
    width: 10px;
    border-radius: 99px;
    background: rgba(0, 210, 255, 0.35);
    border: 1px solid rgba(0, 210, 255, 0.5);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.4);
    cursor: grab;
    transition: background 0.2s, box-shadow 0.2s;
    min-height: 20px;
}
.ta-csb-thumb:hover {
    background: rgba(0, 210, 255, 0.55);
    box-shadow: 0 0 16px rgba(0, 210, 255, 0.6);
}
.ta-csb-thumb.dragging,
.ta-csb-thumb:active {
    cursor: grabbing;
    background: rgba(0, 210, 255, 0.85);
    box-shadow: 0 0 22px rgba(0, 210, 255, 0.8), 0 0 44px rgba(0, 210, 255, 0.35);
}

/* Limit other-subject height like contact us subject */
#other-subject {
    resize: none;
    overflow-y: auto;
    min-height: calc(1.68rem + 34px);
    max-height: calc((1.68rem * 3) + 34px);
}

@media (max-width: 768px) {
    .glass-box {
        padding: 25px 20px;
    }
    .flex-row {
        flex-direction: column;
        gap: 0;
    }
}

/* ============================================================
   CUSTOM DATE PICKER STYLES
   ============================================================ */

.dob-picker-wrapper {
    position: relative;
}

.dob-display-input {
    cursor: pointer;
    padding-right: 50px !important;
}

.dob-cal-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
    z-index: 2;
}

.dob-cal-btn:hover {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.08);
}

.dob-calendar {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 9999;
    background: #08080d !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: 1px solid rgba(0, 210, 255, 0.25);
    border-radius: 16px;
    padding: 16px;
    width: 280px;
    box-shadow: none !important;
    animation: calFadeIn 0.18s ease;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
}

.dob-calendar.open {
    display: block;
}

@keyframes calFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.dob-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dob-nav-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    font-size: 1.1rem;
    padding: 4px 10px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
    line-height: 1;
}

.dob-nav-btn:hover {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.08);
}

.dob-cal-title {
    background: transparent;
    border: none;
    color: #ffffff;
    font-family: var(--font-primary, 'Orbitron', sans-serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    padding: 4px 10px;
    border-radius: 8px;
    transition: color 0.2s, background 0.2s;
}

.dob-cal-title:hover {
    color: #00d2ff;
    background: rgba(0, 210, 255, 0.08);
}

.dob-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 6px;
}

.dob-weekday {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    padding: 4px 0;
    letter-spacing: 0.5px;
}

.dob-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.dob-day {
    text-align: center;
    padding: 7px 2px;
    font-size: 0.82rem;
    border-radius: 8px;
    cursor: pointer;
    color: rgba(255,255,255,0.75);
    transition: background 0.15s, color 0.15s;
    user-select: none;
}

.dob-day:hover {
    background: rgba(0, 210, 255, 0.12);
    color: #00d2ff;
}

.dob-day.today {
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
}

.dob-day.selected {
    background: linear-gradient(135deg, #00d2ff, #7b2ff7);
    color: #fff;
    font-weight: 700;
}

.dob-day.other-month {
    color: rgba(255,255,255,0.2);
}

.dob-day.disabled {
    color: rgba(255,255,255,0.1);
    cursor: not-allowed;
    pointer-events: none;
}

.dob-grid-3x4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-top: 4px;
}

.dob-grid-3x4 button {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 0.82rem;
    font-family: var(--font-secondary, 'Rajdhani', sans-serif);
    padding: 10px 4px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
    user-select: none;
}

.dob-grid-3x4 button:hover {
    background: rgba(0, 210, 255, 0.12);
    color: #00d2ff;
}

.dob-grid-3x4 button.selected {
    background: linear-gradient(135deg, #00d2ff, #7b2ff7);
    color: #fff;
    font-weight: 700;
}

.dob-grid-3x4 button.current {
    border: 1px solid rgba(0, 210, 255, 0.4);
    color: #00d2ff;
}

.dob-grid-3x4 button.disabled {
    color: rgba(255,255,255,0.15);
    cursor: not-allowed;
    pointer-events: none;
}

/* File Lightbox Fullscreen & Touch Prevention */
#fileLightboxModal {
    touch-action: none !important;
    overscroll-behavior: contain !important;
}

#fileLightboxImgViewport,
#fileLightboxDocViewport,
#fileLightboxImgContainer,
#fileLightboxDocCanvasViewport,
#fileLightboxDocContainer {
    touch-action: none !important;
}

#fileLightboxDocContainer canvas {
    touch-action: none !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    -webkit-touch-callout: none !important;
}



