/* Custom cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    pointer-events: none;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.02s ease;
}

.custom-cursor.hover {
    background: rgba(203, 161, 53, 0.8);
    border-color: rgba(203, 161, 53, 0.6);
    transform: translate(-50%, -50%);
}

.custom-cursor::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 12px;
    background-image: url('../../website/Icons/CursorALT.svg');
    background-size: contain;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    filter: brightness(2) contrast(1.5);
    transition: filter 0.02s ease;
}

.custom-cursor.hover::before {
    filter: brightness(2) contrast(1.5) invert(1) brightness(0.3);
}

/* Inline styles moved from HTML to CSS for CSP compliance */
.hidden {
    display: none !important;
}

.inline {
    display: inline !important;
}

.block {
    display: block !important;
}

.flex {
    display: flex !important;
}

#otherSubject {
    display: none;
}

#chatLoading {
    display: none;
}

#chatBotImage {
    width: 200px;
    height: 200px;
    margin-top: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    display: none;
}

#chatInput {
    display: none;
}

#customBudget {
    display: none;
}

#chatBack {
    display: none;
}

#scheduleModal .modal-content {
    height: 500px;
    max-width: 650px;
}

#scheduleFrame {
    transform: scale(0.78);
    transform-origin: top center;
    margin: 0 auto;
    display: block;
}

/* File Input Styling */
#fileInput {
    width: 100%;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: #e0e7ff;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    cursor: pointer;
}

#fileInput:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
}

#fileInput:focus {
    outline: none;
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

/* Hide system cursor on all clickable elements except slide buttons when custom cursor is enabled */
body.custom-cursor-enabled a, body.custom-cursor-enabled button, body.custom-cursor-enabled [role="button"], body.custom-cursor-enabled input[type="submit"], body.custom-cursor-enabled input[type="button"],
body.custom-cursor-enabled [onclick], body.custom-cursor-enabled .clickable-card, body.custom-cursor-enabled .tab-btn, body.custom-cursor-enabled .btn,
body.custom-cursor-enabled .accordion-header, body.custom-cursor-enabled .dot, body.custom-cursor-enabled .payment-card-option, body.custom-cursor-enabled .position-option,
body.custom-cursor-enabled .custom-select, body.custom-cursor-enabled .select-selected, body.custom-cursor-enabled .option {
    cursor: none !important;
}

/* Allow system cursor for slide buttons */
.slide-btn {
    cursor: grab !important;
}

.slide-btn:active,
.slide-btn.slid {
    cursor: default !important;
}