/* ===========================
   基本レイアウト
=========================== */
html, body {
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%) !important;
    color: #fff !important;
    margin: 0;
    padding: 0;
    min-height: 100%;
}

main, .container, .content-wrapper, section, .row, .col {
    background: transparent !important;
    color: inherit !important;
}

.service-end-box {
    background: #fff3f3;
    border: 3px solid #b00020;
    color: #222;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 6px;
}

    .service-end-box h2 {
        color: #b00020;
        font-weight: bold;
        margin-bottom: 15px;
    }

    .service-end-box h4 {
        margin-top: 20px;
        font-weight: bold;
    }

/* ===========================
   ナビゲーション
=========================== */
.navbar {
    border: none !important;
    background-color: #000 !important;
}

.sticky-top {
    background-color: #000 !important;
}

/* ===========================
   タブ
=========================== */
.nav-tabs {
    border-bottom: none !important;
}

    .nav-tabs .nav-link {
        color: #ccc !important;
        background: transparent !important;
        border: none !important;
        margin-right: 1rem;
        padding-bottom: .5rem;
    }

        .nav-tabs .nav-link:hover {
            color: #fff !important;
            border-bottom: 3px solid #fff !important;
        }

        .nav-tabs .nav-link.active {
            color: #fff !important;
            border-bottom: 4px solid #fff !important;
            font-weight: bold;
        }

/* ===========================
   アニメカード（Netflix風）
=========================== */
.anime-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 6px;
}

    .anime-card img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 6px;
        transition: transform 0.3s ease;
    }

    .anime-card:hover img {
        transform: scale(1.05);
    }

/* ホバー時に出るオーバーレイ */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 1rem;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-radius: 0 0 6px 6px;
}

.anime-card:hover .card-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* ===========================
   フォーム
=========================== */
.form-control {
    background-color: #111 !important;
    color: #fff !important;
    border: none !important;
}

.btn-outline-light {
    border: 1px solid #fff !important;
    background: transparent !important;
}

/* ===========================
   サイドバー
=========================== */
#sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #000 0%, #0a0a0a 100%);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.8);
}

    #sidebar.active {
        transform: translateX(0);
    }

    #sidebar .nav-link {
        color: #ccc !important;
        transition: color 0.2s ease;
    }

        #sidebar .nav-link:hover {
            color: #fff !important;
        }

/* ===========================
   オーバーレイ
=========================== */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1040;
    display: none;
}

#sidebar.active ~ #overlay {
    display: block;
}

/* ===========================
   その他
=========================== */
.border,
.border-bottom,
.border-top,
.border-start,
.border-end {
    border: none !important;
}

h2, h3, h4, h5 {
    color: #fff !important;
}

.no-image-placeholder {
    width: 100%;
    height: 250px; /* サムネと同じ高さ */
    background-color: #111; /* Netflix 風の黒背景 */
    color: #777; /* グレー文字 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border-radius: 6px; /* 角丸 */
    text-transform: uppercase; /* "No Image" を大文字に */
}

/* お気に入りボタン用のアイコン色を統一 */
.favorite-icon {
    color: #ccc !important;  /* 薄いグレー固定 */
    transition: color 0.2s ease;
}

.favorite-btn:hover .favorite-icon {
    color: #fff !important;  /* ホバーで白 */
}

/* 共通デザイン */
.action-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px; /* 角丸でフラット */
    background-color: #222 !important;
    border: none !important;
    color: #ddd !important;
    transition: all 0.2s ease;
}

    .action-btn:hover {
        background-color: #333 !important;
        color: #fff !important;
    }

/* 個別色を消して統一フラット */
.edit-btn svg,
.delete-btn svg,
.back-btn svg,
.favorite-btn svg {
    pointer-events: none;
}

.rating-stars {
    color: #fff !important; /* 白に統一 */
    font-size: 1rem;
}

.rating-stars {
    color: #ccc !important; /* グレー（淡い感じ） */
    font-size: 1rem;
}

