/* Global Modal CSS */

/* 1. Custom Smooth Vertical Scrollbar */
.modal-content::-webkit-scrollbar {
    width: 8px;
    /* Slightly wider for elegance */
}

.modal-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

/* 2. Gold Scrollbar Thumb */
.modal-content::-webkit-scrollbar-thumb {
    background: #D4AF37;
    /* Gold */
    border-radius: 4px;
    transition: background 0.3s ease;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: #e6c249;
    /* Lighter gold on hover */
}

/* 3. Cursor "Hand" on Scrollbar Hover */
/* Note: CSS doesn't standardly support changing cursor ONLY on scrollbar. 
   However, we can ensure the thumb feels interactive. */
.modal-content::-webkit-scrollbar-thumb {
    cursor: pointer;
    /* Attempts to show pointer, though browser support varies */
}

/* 4. Semi-transparent Circle Background for "X" Icon */
.modal-close,
.btn-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05) !important;
    /* Semi-transparent */
    transition: background 0.2s ease;
    border: none;
    cursor: pointer;
}

.modal-close:hover,
.btn-close:hover {
    background: rgba(0, 0, 0, 0.1) !important;
}

/* 5. Back Arrow Button Style */
.modal-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    color: #333;
    margin-right: 8px;
    /* Space before title */
    cursor: pointer;
    transition: background 0.2s;
    border: none;
    font-style: italic;
    /* "V miring" style hint, though icon handles shape */
}

.modal-back-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

.modal-header {
    display: flex;
    align-items: center;
}