﻿body {
    background-color: #1e1e1e;
    color: #fff;
    font-family: "Segoe UI", sans-serif;
}

.header-bar {
    background-color: #2b2b2b;
    padding: 12px 20px;
    font-size: 1.1rem;
    color: #ddd;
}

.login-card {
    background-color: #2b2b2b;
    border-radius: 12px;
    padding: 40px;
}

.logo-img {
    max-width: 260px;
    width: 100%;
}

.small-text {
    font-size: 0.9rem;
    color: #ccc;
}

/* Improve inputs + placeholder visibility */
.form-control {
    background-color: #3a3a3a;
    border: 1px solid #666;
    color: #fff;
}

.form-control::placeholder {
    color: #bbb !important; /* Brighter placeholder text */
    opacity: 1;
}

.form-control:focus {
    background-color: #444;
    border-color: #888;
    color: #fff;
}

.btn-token {
    background-color: #4a4a4a;
    border: none;
}

.btn-token:hover {
    background-color: #5a5a5a;
}

.privacy-container {
    background-color: #2b2b2b;
    padding: 30px;
    color: #fff;
}

.playlist-container {
    background-color: #2b2b2b;
    padding: 30px;
    color: #fff;
}

.playlist-list {
    margin-top: 20px;
}

.playlist-item {
    background-color: #1f1f1f;
    padding: 12px 18px;
    border-radius: 8px;
    margin-bottom: 8px;
    display: flex;
}

.playlist-item:hover {
    background-color: #272727;
}

.playlist-number {
    color: #aaa;
    width: 30px;
    text-align: right;
}

.playlist-thumb {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.playlist-title {
    font-size: 1rem;
}

.playlist-score {
    color: #ccc;
}

/* ---- Card styling ---- */

.card {
    background-color: #3a3a3a !important;
    border-radius: 16px;
    border: none;
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

/* Thumbnail shadow */
.card img {
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Keeps slider centered between +/- */
.slider-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 220px; /* Adjust for perfect centering */
}

/* Thumbnail styling */
.video-thumb {
    max-height: 180px;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* ---- Slider styling ---- */

input[type="range"] {
    height: 6px;
    background: linear-gradient( 90deg, #cc0000 0%, /* red left */
    #cccc00 50%, /* yellow middle */
    #00aa00 100% /* green right */
    );
    border-radius: 5px;
    outline: none;
    appearance: none;
}

    /* Slider thumb */
    input[type="range"]::-webkit-slider-thumb {
        appearance: none;
        width: 14px;
        height: 14px;
        background: #fff;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 0 5px rgba(255,255,255,0.6);
    }

    input[type="range"]::-moz-range-thumb {
        width: 14px;
        height: 14px;
        background: #fff;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        box-shadow: 0 0 5px rgba(255,255,255,0.6);
    }

/* ---- Buttons ---- */

.btn {
    border-radius: 8px;
}

.btn-primary {
    background-color: #4c8bf5;
    border-color: #3d7ae0;
}

    .btn-primary:hover {
        background-color: #3b7ae5;
        border-color: #2f69c8;
    }

.btn-secondary {
    background-color: #5d6775;
    border-color: #4e5661;
    color: #fff;
}

    .btn-secondary:hover {
        background-color: #505965;
        border-color: #434a53;
    }

.btn-outline-light {
    border-width: 2px;
}

/* ---- Text ---- */

h2 {
    color: #ffffff;
    font-weight: 400;
}

.text-muted {
    color: #c0c0c0 !important;
}

/* Horizontal rule */
hr {
    border-color: #555;
}

/* ---- Layout utility fixes ---- */

.gap-3 {
    gap: 1rem !important;
}

/* Card container */
.admin-card {
    background: #2b2b2b;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}

/* Scrollable list */
.scroll-list {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 6px;
}

/* Individual item layout */
.admin-item {
    background: #3a3a3a;
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Scrollbar styling */
.scroll-list::-webkit-scrollbar {
    width: 8px;
}

.scroll-list::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 4px;
}

    .scroll-list::-webkit-scrollbar-thumb:hover {
        background: #777;
    }

/* Buttons */
.btn-outline-light {
    border-color: #bbb;
    color: #eee;
}

    .btn-outline-light:hover {
        background: #fff;
        color: #000;
    }

/* Badge colors more vivid */
.badge {
    color: #fff !important;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 6px;
}

/* Ensure the custom badge background colors show clearly */
.bg-success {
    background-color: #28a745 !important;
}

.bg-danger {
    background-color: #dc3545 !important;
}

.bg-primary {
    background-color: #0d6efd !important;
}