/**
 * Post Add Title Modal Styles
 */

/* Ensure this modal appears on top of the Add Title modal */
#postAddTitleModal {
    z-index: 1060;
}

#postAddTitleModal + .modal-backdrop,
.modal-backdrop:has(+ #postAddTitleModal) {
    z-index: 1059;
}

/* Also ensure the follow-up modals (Watchlist, Viewing) appear on top */
#addToWatchlistModal {
    z-index: 1065;
}

#addViewingModal {
    z-index: 1065;
}

/* Episode Date Picker appears on top of everything */
#episodeDatePickerModal {
    z-index: 1070;
}

/* Option buttons styling */
.post-add-option-btn {
    padding: 12px 16px;
    text-align: left;
    transition: all 0.2s ease;
}

.post-add-option-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.post-add-option-btn .text-muted {
    font-size: 0.8rem;
}

/* Watchlist button hover state */
#postAddWatchlistBtn:hover {
    background-color: #0dcaf0;
    border-color: #0dcaf0;
    color: #fff;
}

#postAddWatchlistBtn:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Watched button hover state */
#postAddWatchedBtn:hover {
    background-color: #0d6efd;
    border-color: #0d6efd;
    color: #fff;
}

#postAddWatchedBtn:hover .text-muted {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Title display */
#postAddTitleDisplay {
    color: #198754;
}

/* ========================================
   DARK MODE OVERRIDES
   ======================================== */

[data-bs-theme="dark"] .post-add-option-btn:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
