/* ── APPEND THIS TO YOUR EXISTING style.css ── */

/* FLASH TOASTS */
.alert-toast {
    position: fixed;
    top: 90px;
    right: 20px;
    z-index: 9999;
    padding: 14px 22px;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 380px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    animation: slideIn 0.4s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success-toast {
    background: rgba(0, 200, 100, 0.15);
    border: 1px solid rgba(0, 200, 100, 0.3);
    color: #00c864;
}
.alert-error-toast {
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    color: #ff6b6b;
}
.alert-info-toast {
    background: rgba(0, 170, 255, 0.15);
    border: 1px solid rgba(0, 170, 255, 0.3);
    color: #00aaff;
}

/* PAGINATION — matches dark theme */
.pagination {
    gap: 6px;
}
.page-link {
    background: #0f172a !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
    border-radius: 10px !important;
    padding: 8px 15px;
    transition: 0.3s;
}
.page-link:hover {
    background: rgba(177, 0, 255, 0.15) !important;
    color: #b100ff !important;
    border-color: rgba(177, 0, 255, 0.3) !important;
}
.active .page-link {
    background: linear-gradient(45deg, #b100ff, #00aaff) !important;
    color: white !important;
    border-color: transparent !important;
}
.disabled .page-link {
    opacity: 0.4;
}

/* SELECT dark override */
select option {
    background: #0f172a;
    color: white;
}

/* TEXTAREA dark override */
textarea.form-control {
    background: #111827 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: white !important;
    border-radius: 12px;
}
textarea.form-control:focus {
    border-color: #b100ff !important;
    box-shadow: 0 0 0 3px rgba(177, 0, 255, 0.2) !important;
}
textarea.form-control::placeholder {
    color: #475569 !important;
}

/* Search input field of course page */
.custom-input::placeholder {
    color: white;
}

/* BUNDLE DETAIL card */
.bundle-detail-course {
    background: #020617;
    border-radius: 14px;
    padding: 16px 20px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
}

/* VIDEO / AUDIO player no-download */
video::-webkit-media-controls-download-button {
    display: none !important;
}
video::-webkit-media-controls-enclosure {
    overflow: hidden;
}
audio::-webkit-media-controls-download-button {
    display: none !important;
}
