/* [MODIFIKASI] Mengecilkan ukuran font dasar untuk desktop */
html { font-size: 90%; }
:root {
    --background-color: #0c0c0f; --surface-color: #1a1a21; --primary-color: #6a5acd;
    --primary-hover-color: #5d4ec1; --text-color: #cccccc; --text-title-color: #ffffff;
    --header-height: 70px; --border-radius: 12px;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Poppins', sans-serif; background-color: var(--background-color); color: var(--text-color); overflow-x: hidden; }
main { animation: fadeIn 0.5s ease-out; }
a { color: inherit; text-decoration: none; }
.main-content { padding: 0 5%; }
.btn { background-color: var(--primary-color); color: white; padding: 0.7rem 1.5rem; border-radius: 25px; font-weight: 600; transition: all 0.3s; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 0.5rem; position: relative; overflow: hidden; }
.btn:hover { background-color: var(--primary-hover-color); transform: translateY(-2px); box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3); }
.header { position: fixed; top: 0; left: 0; width: 100%; height: var(--header-height); background: rgba(12, 12, 15, 0.7); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; justify-content: space-between; padding: 0 2%; z-index: 1000; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.logo { font-size: 1.8rem; font-weight: 700; background: linear-gradient(90deg, #8A2BE2, #4169E1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; flex-shrink: 0; margin-right: 1.5rem; }
.nav-wrapper { display: flex; align-items: center; justify-content: flex-end; width: 100%; gap: 80px; }
.search-bar { display: flex; }
.search-bar input { width: 250px; padding: 0.6rem 1rem; border-radius: 20px 0 0 20px; border: 1px solid #333; background-color: var(--surface-color); color: var(--text-title-color); font-size: 0.9rem; transition: border-color: 0.3s; }
.search-bar input:focus { outline: none; border-color: var(--primary-color); }
.search-bar button { padding: 0.6rem 1rem; border-radius: 0 20px 20px 0; border: 1px solid var(--primary-color); background-color: var(--primary-color); color: white; cursor: pointer; }
.search-bar button:hover { background-color: var(--primary-hover-color); }
.search-icon-mobile { display: none; }
.mobile-search-popup { display: none; position: absolute; top: 0; left: 0; width: 100%; height: var(--header-height); background-color: var(--background-color); z-index: 1001; align-items: center; padding: 0 1rem; }
.mobile-search-popup.active { display: flex; }
.mobile-search-popup .search-bar { flex-grow: 1; display: flex; }
.mobile-search-popup .search-bar input { width: 100%; }
.mobile-search-popup .close-btn { background: none; border: none; color: white; font-size: 2.5rem; cursor: pointer; padding: 0 1rem; line-height: 1; }
.main-nav { display: flex; align-items: center; }
.nav-links { list-style: none; display: flex; align-items: center; gap: 0.5rem; }
.nav-links > li > a, .nav-links > li > span { display: flex; align-items: center; padding: 0.5rem 0.8rem; font-size: 0.9rem; font-weight: 600; color: var(--text-color); transition: color 0.3s; border-radius: 8px; cursor: pointer; }
.nav-links > li > a:hover, .nav-links > li > span:hover { color: var(--text-title-color); background-color: rgba(255, 255, 255, 0.1); }
.nav-links .nav-icon { width: 16px; height: 16px; margin-right: 8px; }
.nav-links .dropdown-arrow { width: 14px; height: 14px; margin-left: 4px; transition: transform 0.3s; }
.dropdown { position: relative; }
.dropdown-content { visibility: hidden; opacity: 0; transform: translateY(10px); transition: all 0.2s ease; pointer-events: none; position: absolute; top: 110%; left: 0; background-color: var(--surface-color); min-width: 220px; box-shadow: 0 8px 16px rgba(0,0,0,0.3); border-radius: var(--border-radius); z-index: 1; padding: 0.5rem; border: 1px solid rgba(255, 255, 255, 0.1); }
.dropdown.open > .dropdown-content { visibility: visible; opacity: 1; transform: translateY(0); pointer-events: auto; }
.dropdown.open > span .dropdown-arrow { transform: rotate(180deg); }
.dropdown-content a { color: var(--text-color); padding: 0.75rem 1rem; text-decoration: none; display: block; font-size: 0.85rem; border-radius: 8px; }
.dropdown-content a:hover { background-color: var(--primary-color); color: white; }
.dropdown-content.multi-column { display: flex; gap: 1rem; padding: 1rem; min-width: max-content; }
.dropdown-align-right > .dropdown-content { left: auto; right: 0; }
.dropdown-column { display: flex; flex-direction: column; gap: 0.25rem; }
.hamburger-menu { display: none; cursor: pointer; }
.mobile-nav-backdrop { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.6); z-index: 999; opacity: 0; transition: opacity 0.3s ease-in-out; }
.mobile-nav-backdrop.active { display: block; opacity: 1; }
body.mobile-nav-open { overflow: hidden; }
.hero-carousel { margin-top: var(--header-height); height: calc(80vh - var(--header-height)); min-height: 500px; position: relative; overflow: hidden; }
.carousel-slides { display: flex; height: 100%; transition: transform 0.5s ease-in-out; }
.carousel-slide { min-width: 100%; height: 100%; position: relative; display: flex; align-items: flex-end; color: white; padding: 3rem 5% 4rem; }
.hero-backdrop { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to top, rgba(12, 12, 15, 1) 20%, transparent 100%); z-index: -1; }
.hero-content { max-width: 50%; z-index: 1; }
.hero-content h1 { font-size: 1.75rem; margin-bottom: 1rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.hero-content .hero-meta { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; font-size: 0.88rem; font-weight: 600; }
.hero-content p { margin-bottom: 1.5rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.carousel-dots { position: absolute; bottom: 15px; left: 50%; transform: translateX(-50%); display: flex; gap: 0.75rem; z-index: 2; }
.dot { width: 12px; height: 12px; border-radius: 50%; background-color: rgba(255,255,255,0.4); cursor: pointer; transition: all 0.3s; }
.dot.active { background-color: white; transform: scale(1.2); }
.movie-section { padding-top: 30px; }
.section-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.movie-section h2 { font-size: 1.26rem; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-color); display: inline-block; margin: 0; }
.see-all-btn { color: var(--text-color); font-size: 0.8rem; font-weight: 500; text-decoration: none; transition: all 0.3s; padding: 0.3rem 0.8rem; border: 1px solid var(--surface-color); border-radius: 20px; }
.see-all-btn:hover { color: var(--text-title-color); background-color: var(--primary-color); border-color: var(--primary-color); }
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1.5rem; }
.movie-card { background-color: var(--surface-color); border-radius: var(--border-radius); overflow: hidden; transition: all 0.3s; position: relative; outline: 2px solid transparent; }
.movie-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.4); outline-color: var(--primary-color); }
.btn::after, .movie-card::after { content: ''; position: absolute; top: 0; transform: translateX(-100%); width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); pointer-events: none; }
.btn:hover::after, .movie-card:hover::after { transform: translateX(100%); transition: transform 0.75s cubic-bezier(0.23, 1, 0.32, 1); }
.movie-card::before { content: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24' fill='rgba(106, 90, 205, 0.8)' stroke='%236a5acd' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3e%3ccircle cx='12' cy='12' r='10'%3e%3c/circle%3e%3cpolygon points='10 8 16 12 10 16 10 8' fill='%23ffffff'%3e%3c/polygon%3e%3c/svg%3e"); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.8); opacity: 0; transition: all 0.3s ease; z-index: 3; pointer-events: none; }
img {
max-width: 100%;
height: auto;
display: block;
}

.movie-card:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.movie-card img { width: 100%; display: block; aspect-ratio: 2/3; object-fit: cover; transition: filter 0.3s ease; }
.movie-card:hover img { filter: brightness(0.6); }
.movie-card .movie-info { position: absolute; bottom: 0; left: 0; width: 100%; padding: 2rem 0.75rem 0.75rem; background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent); text-align: center; color: white; }
.movie-card .movie-info h3 { font-size: 0.7rem; white-space: normal; line-height: 1.4; -webkit-line-clamp: 3; -webkit-box-orient: vertical; display: -webkit-box; overflow: hidden; text-overflow: ellipsis; text-shadow: 1px 1px 2px rgba(0,0,0,0.7); }
.movie-card .movie-info p { font-size: 0.65rem; color: #ddd; margin-top: 0.25rem; }
.rating-badge { position: absolute; top: 0; right: 0; background: rgba(106, 90, 205, 0.8); color: white; padding: 0.2rem 0.6rem; border-radius: 0 0 0 12px; font-size: 0.64rem; font-weight: 600; backdrop-filter: blur(5px); z-index: 2; }
.detail-page-body { background-size: cover; background-position: center top; background-attachment: fixed; }
.backdrop-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(12, 12, 15, 0.85); backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px); z-index: -1; }
.detail-container { max-width: 1200px; margin: 0 auto; padding: calc(var(--header-height) + 2rem) 5% 2rem 5%; }
.breadcrumb { padding: 1rem 0; margin-bottom: 1.5rem; font-size: 0.9rem; color: #aaa; display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.breadcrumb a { color: var(--text-color); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--primary-color); }
.breadcrumb a.active { color: var(--text-title-color); font-weight: 600; pointer-events: none; }
.breadcrumb span { color: #666; }
.detail-content { display: flex; gap: 2.5rem; margin-bottom: 30px; }
.poster-container { flex-basis: 300px; flex-shrink: 0; }
.poster-container img { width: 100%; border-radius: var(--border-radius); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.info-container h1 { font-size: 1.68rem; margin-bottom: 1rem; font-weight: 700; }
.meta-info { margin-bottom: 1rem; display: flex; gap: 1rem; align-items: center; font-size: 0.77rem; flex-wrap: wrap; }
.rating { color: #f5c518; font-weight: 600; flex-shrink: 0; }
.extra-meta { display: grid; gap: 0.5rem; margin-bottom: 1.5rem; font-size: 0.9rem; }
.extra-meta div strong { color: var(--text-title-color); display: block; margin-bottom: 0.25rem; }
.info-container h2 { margin: 2rem 0 1rem 0; font-size: 1.5rem; }
.info-container p { line-height: 1.8; font-size: 1rem; text-align: justify; }
.player-section, .cast-section, #download-section, #episode-selector-section { margin-bottom: 30px; }
.player-wrapper { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; background-color: #000; border-radius: var(--border-radius); margin-bottom: 25px; }
.player-wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
#player-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 10; cursor: pointer; background-color: rgba(0,0,0,0); }
#player-overlay.hidden { display: none; }
.server-buttons { display: flex; flex-wrap: nowrap; gap: 1rem; margin-bottom: 1rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--primary-color) var(--surface-color); }
.server-buttons.initial-state { justify-content: center; overflow-x: hidden; }
.server-buttons::-webkit-scrollbar { height: 8px; }
.server-buttons::-webkit-scrollbar-track { background: var(--surface-color); border-radius: 4px; }
.server-buttons::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 4px; }
.server-buttons .btn { background-color: var(--surface-color); flex-shrink: 0; }
.server-buttons .btn.active { background-color: var(--primary-color); box-shadow: 0 4px 15px rgba(106, 90, 205, 0.3); }
.server-info { font-size: 0.9rem; color: #aaa; }
.cast-scroller { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--primary-color) var(--surface-color); }
.cast-scroller::-webkit-scrollbar { height: 8px; }
.cast-scroller::-webkit-scrollbar-track { background: var(--surface-color); border-radius: 4px; }
.cast-scroller::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 4px; }
.cast-card { text-align: center; width: 84px; flex-shrink: 0; }
.cast-card img { width: 100%; height: 126px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 4px; }
.cast-card p { font-size: 0.575rem; font-weight: 600; line-height: 1.4; }
.recommendation-section { padding-top: 0; }
.selector-controls { margin-bottom: 1.5rem; display: flex; align-items: center; gap: 1rem; }
.selector-controls label { font-weight: 600; }
#season-select { padding: 0.5rem 1rem; background-color: var(--surface-color); }
.episode-grid { display: flex; gap: 0.75rem; overflow-x: auto; padding-bottom: 1rem; scrollbar-width: thin; scrollbar-color: var(--primary-color) var(--surface-color); }
.episode-grid::-webkit-scrollbar { height: 8px; }
.episode-grid::-webkit-scrollbar-track { background: var(--surface-color); border-radius: 4px; }
.episode-grid::-webkit-scrollbar-thumb { background-color: var(--primary-color); border-radius: 4px; }
.episode-btn { background-color: var(--surface-color); justify-content: center; padding: 0.6rem; min-width: 60px; flex-shrink: 0; }
.episode-btn.active { background-color: var(--primary-color); }
.download-loader { text-align: center; color: var(--text-color); font-style: italic; }
#download-wrapper { text-align: center; }
.download-btn-main { background-color: rgba(0, 123, 255, 0.15); border: 1px solid rgba(0, 123, 255, 0.5); color: #007bff; padding: 0.8rem 2rem; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.download-btn-main:hover { color: white; background-color: #007bff; border-color: #007bff; box-shadow: 0 0 5px #007bff, 0 0 15px #007bff; }
.download-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem; }
.download-btn { background-color: rgba(40, 167, 69, 0.15); border: 1px solid rgba(40, 167, 69, 0.5); color: #28a745; text-shadow: none; }
.download-btn:hover { color: white; background-color: #28a745; border-color: #28a745; box-shadow: 0 0 5px #32cd32, 0 0 15px #32cd32; }
.list-container { padding: calc(var(--header-height) + 2rem) 5% 2rem 5%; }
.list-container h2, .list-page-title { font-size: 1.8rem; margin-bottom: 2rem; }
.query-highlight { color: var(--primary-color); }
.not-found { font-size: 1.2rem; text-align: center; margin-top: 3rem; }
.load-more-container { text-align: center; margin-top: 2.5rem; }
.footer { text-align: center; padding: 2rem; margin-top: 1.5rem; background-color: var(--surface-color); color: #888; }

@media (max-width: 1024px) {
    .nav-wrapper { gap: 1rem; }
    .search-bar { display: none; }
    .search-icon-mobile { display: block; background: none; border: none; color: white; cursor: pointer; margin-left: 1rem; }
    .hamburger-menu { display: flex; flex-direction: column; justify-content: space-around; width: 24px; height: 24px; background: transparent; border: none; z-index: 1001; }
    .hamburger-menu span { width: 24px; height: 3px; background-color: white; border-radius: 10px; transition: all 0.3s linear; transform-origin: 1px; }
    .header.nav-active .hamburger-menu span:nth-child(1) { transform: rotate(45deg); }
    .header.nav-active .hamburger-menu span:nth-child(2) { opacity: 0; transform: translateX(20px); }
    .header.nav-active .hamburger-menu span:nth-child(3) { transform: rotate(-45deg); }
    .main-nav { 
        margin-right: 0;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: var(--surface-color);
        padding: var(--header-height) 0 1rem 0;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        overflow-y: auto;
    }
    .main-nav.active { transform: translateX(0); }
    .nav-links { flex-direction: column; width: 100%; gap: 0; }
    .nav-links li { width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.05); }
    .nav-links > li > a, .nav-links > li > span { justify-content: space-between; width: 100%; padding: 1rem 1.5rem; font-size: 1rem; }
    .dropdown-content { display: none; max-height: 0; overflow: hidden; position: static; background-color: rgba(0,0,0,0.2); box-shadow: none; border: none; padding: 0; border-top: 1px solid rgba(255, 255, 255, 0.05); visibility: visible; opacity: 1; transform: none; transition: max-height 0.3s ease-in-out; }
    .dropdown.open > .dropdown-content { display: block; max-height: 500px; }
    .dropdown-content a { padding-left: 2.5rem !important; }
    .dropdown-content.multi-column { flex-direction: column; gap: 0; padding: 0; min-width: auto; max-width: none; overflow-x: hidden; }
    .dropdown-column { gap: 0; }
    /* [MODIFIKASI] Menambahkan scrollbar untuk dropdown mobile yang panjang */
    .dropdown.open > .dropdown-content.scrollable-on-mobile {
        max-height: 20.5rem; /* Dibatasi untuk sekitar 8 item */
        overflow-y: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) var(--surface-color);
    }
    .dropdown.open > .dropdown-content.scrollable-on-mobile::-webkit-scrollbar {
        width: 6px;
    }
    .dropdown.open > .dropdown-content.scrollable-on-mobile::-webkit-scrollbar-track {
        background: rgba(0,0,0,0.1);
    }
    .dropdown.open > .dropdown-content.scrollable-on-mobile::-webkit-scrollbar-thumb {
        background-color: var(--primary-color);
        border-radius: 3px;
    }
}
@media (max-width: 992px) { .hero-content h1 { font-size: 1.5rem; } .hero-content { max-width: 70%; } .detail-content { flex-direction: column; } }
@media (max-width: 768px) {
    /* [MODIFIKASI] Mengecilkan ukuran font dasar untuk mobile */
    html { font-size: 75%; }
    /* [BARU] Perbaikan Breadcrumb Mobile */
    .breadcrumb {
        flex-wrap: nowrap;
        overflow: hidden;
    }
    .breadcrumb a.active {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1; /* Biarkan elemen ini menyusut jika perlu */
        min-width: 0; /* Trik agar ellipsis berfungsi di dalam flexbox */
    }
    .hero-carousel { min-height: 400px; }
    .hero-content { max-width: 100%; }
    .hero-content h1 { font-size: 1.2rem; }
    .hero-content p { -webkit-line-clamp: 2; }
    .movie-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
    .movie-card .movie-info { padding: 1.5rem 0.6rem 0.6rem; }
    .movie-card .movie-info h3 { font-size: 0.65rem; -webkit-line-clamp: 2; }
    .info-container h1 { font-size: 1.125rem; }
    .meta-info { flex-wrap: nowrap; }
    .meta-info .genres { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
    .detail-content, .cast-section, .player-section { margin-bottom: 25px; }
    .cast-card { width: 47px; }
    .cast-card img { height: 71px; }
    .cast-card p { font-size: 0.45rem; }
    .download-btn-main { padding: 0.4rem 1rem; font-size: 0.8rem; letter-spacing: 0.5px; }
    
    /* --- PERUBAHAN --- */
    /* Menghapus aturan mobile untuk .download-buttons agar mewarisi gaya desktop (rata tengah & wrap) */
    .download-btn { padding: 0.35rem 0.75rem; font-size: 0.8rem; flex-shrink: 0; }
}

/* Admin Dashboard Styles (dari generateAdminLoginPage & generateAdminDashboardPage) */
.login-container { background-color: #1a1a21; padding: 2.5rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); width: 100%; max-width: 400px; text-align: center; margin: 5vh auto; }
.login-container h1 { color: #fff; margin-bottom: .5rem; }
.login-container p { margin-bottom: 2rem; color: #aaa; }
.login-container .error, .login-container .message { color: #ff6b6b; background-color: rgba(255,107,107,0.1); padding: .75rem; border-radius: 8px; margin-bottom: 1.5rem; }
.login-container .message { color: #28a745; background-color: rgba(40,167,69,0.15); }
.login-container .form-group { margin-bottom: 1.5rem; text-align: left; }
.login-container label { display: block; margin-bottom: .5rem; font-weight: 600; color: #ccc; }
.login-container input { width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 1px solid #333; background-color: #0c0c0f; color: #e0e0e0; font-size: 1rem; box-sizing: border-box; }
.login-container input:focus { outline: none; border-color: #6a5acd; }
.login-container .btn { width: 100%; font-size: 1rem; }

.admin-container { max-width: 900px; margin: 0 auto; padding: 2rem; }
.admin-container header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; border-bottom: 1px solid #333; padding-bottom: 1rem; }
.admin-container h1 { color: #fff; }
.admin-container .message { background-color: rgba(40,167,69,0.15); color: #28a745; padding: 1rem; border-radius: 8px; margin-bottom: 2rem; text-align: center; }
.admin-container form { background-color: #1a1a21; padding: 2.5rem; border-radius: 12px; }
.admin-container .form-section { margin-bottom: 2.5rem; }
.admin-container .form-section h2 { border-bottom: 2px solid #6a5acd; padding-bottom: .5rem; margin-bottom: 1.5rem; }
.admin-container .form-group { margin-bottom: 1.5rem; }
.admin-container label { display: block; margin-bottom: .5rem; font-weight: 600; color: #ccc; }
.admin-container input, .admin-container textarea { width: 100%; padding: .8rem 1rem; border-radius: 8px; border: 1px solid #333; background-color: #0c0c0f; color: #e0e0e0; font-size: 1rem; box-sizing: border-box; }
.admin-container textarea { font-family: 'Fira Code', monospace; min-height: 250px; resize: vertical; }
.admin-container input:focus, .admin-container textarea:focus { outline: none; border-color: #6a5acd; }
.admin-container .comment { font-size: .85rem; color: #aaa; margin-top: .5rem; }
.admin-container .btn-logout { background-color: #c9302c; }
.admin-container .btn-logout:hover { background-color: #ac2925; }
.admin-container .btn-preview { background-color: #31708f; }
.admin-container .btn-preview:hover { background-color: #285e79; }

/* --- STYLE TAB BARU UNTUK ADMIN DASHBOARD --- */
.tab-nav {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid #333;
    margin-bottom: 2rem;
}
.tab-btn {
    padding: 1rem 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}
.tab-btn:hover {
    color: var(--text-title-color);
    background-color: rgba(255, 255, 255, 0.05);
}
.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.tab-content .tab-pane {
    display: none; /* Sembunyikan semua pane by default */
}
.tab-content .tab-pane.active {
    display: block; /* Tampilkan hanya pane yang aktif */
    animation: fadeIn 0.3s ease-in-out;
}
/* Tombol simpan di dalam tab-pane harus punya margin atas */
.tab-pane > form > .btn[type="submit"] {
    margin-top: 1rem;
}
/* Mengganti style form default agar tidak ada background */
.admin-container .tab-pane > form {
    background-color: transparent;
    padding: 0;
}