/* CSS Dasar untuk Website */
:root {
    --bg-main: #121212;
    --bg-surface: #1a1a1a;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    --accent-color: #f1c40f;
    --border-color: #333333;
    --btn-bg: #333333;
    --btn-bg-hover: #444444;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: Arial, sans-serif;
}

/* Memberikan ruang untuk header dan footer yang fixed */
.ms-main-content {
    padding-top: 64px; /* Sesuai tinggi header */
    padding-bottom: 48px; /* Sesuai tinggi footer */
    min-height: 100vh;
}

/* =========================================
   HEADER STYLES
   ========================================= */
.website-header {
    height: 64px;
    padding: 0 5px;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-color);
    z-index: 1040;
}

.header-container {
    padding: 0;
}

.header-logo {
    padding: 8px 5px;
    height: 100%;
}

.header-logo img {
    height: 100%;
    max-height: 100%;
    width: auto;
}

.header-toggle-btn {
    color: var(--text-main);
    font-size: 20px;
    padding: 4px 8px;
    margin-right: 12px;
    border: 1px solid rgba(255, 255, 255, 0.48);
    background: linear-gradient(180deg, rgb(252 248 255 / 12%) 0%, rgb(209 99 255 / 4%) 100%), linear-gradient(180deg, #51009f 0%, #260549 100%);
    box-shadow: 0 5px 14px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-toggle-btn:hover {
    filter: brightness(1.2);
    color: var(--text-main);
}

/* =========================================
   SIDEBAR STYLES
   ========================================= */
.website-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: #e0e0e0;
    z-index: 1050;
    transition: right 0.3s ease;
    box-shadow: -2px 0 5px rgba(0,0,0,0.5);
    overflow-y: auto;
}

.website-sidebar.show {
    right: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    z-index: 1045;
    display: none;
}

.sidebar-overlay.show {
    display: block;
}

/* =========================================
   FOOTER STYLES
   ========================================= */
.website-footer {
    height: 48px;
    background-color: var(--bg-surface);
    border-top: 1px solid var(--border-color);
    z-index: 1040;
}

.footer-container {
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}

.footer-menu-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 11px;
    height: 100%;
    transition: all 0.2s ease;
}

.footer-menu-item:hover,
.footer-menu-item.active {
    color: var(--accent-color); /* Warna kuning khas referensi */
}

.footer-icon {
    font-size: 16px;
    margin-bottom: 2px;
}

.footer-separator {
    width: 1px;
    height: 32px;
    background-color: var(--border-color); /* Warna garis pemisah */
}

/* =========================================
   LOGIN FORM STYLES
   ========================================= */
.login-form-container {
    background: radial-gradient(circle at 50% 0%, rgba(39, 7, 66, 0.26) 0%, rgba(186, 112, 255, 0.07) 22%, transparent 52%),
      radial-gradient(circle at 8% 18%, rgba(222, 42, 238, 0.3) 0%, rgba(199, 42, 238, 0.08) 35%, transparent 60%),
      radial-gradient(circle at 92% 76%, rgba(85, 43, 201, 0.18) 0%, rgba(151, 43, 201, 0.045) 34%, transparent 58%),
      linear-gradient(135deg, transparent 0 22px, rgba(225, 173, 255, 0.026) 23px, transparent 24px, transparent 68px),
      linear-gradient(45deg, transparent 0 34px, rgba(139, 67, 255, 0.018) 35px, transparent 36px, transparent 88px),
      linear-gradient(180deg, rgba(71, 12, 94, 0.98) 0%, rgba(43, 6, 58, 0.99) 48%, rgba(21, 2, 26, 0.99) 100%);
    border: 1px solid rgba(185, 147, 255, 0.42);
    border-top-color: transparent;
    border-radius: 18px;
    padding: 35px 20px 20px 20px;
    position: relative;
    box-shadow: inset 0 1px 0 rgba(211, 173, 255, 0.13),
      inset 0 -14px 22px rgba(0, 0, 0, 0.24),
      0 5px 14px rgba(0, 0, 0, .24),
      0 0 18px rgba(117, 43, 201, 0.08) !important;
}

.login-form-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(12, 2, 17, 0.22) 0%, transparent 15%, transparent 85%, rgba(10, 2, 17, 0.22) 100%), linear-gradient(180deg, rgba(255, 255, 255, .40) 0%, rgba(255, 255, 255, 0) 30%), radial-gradient(circle at 50% 0%, rgb(237 0 0 / 48%) 0%, transparent 55%), linear-gradient(180deg, #ff1f1f 0%, #f70707 46%, #790303 100%);
    border-radius: 10px;
    border: 1px solid rgb(95 9 9 / 76%);
    box-shadow: inset 0 1px 0 rgb(255 0 0 / 64%), inset 0 -6px 10px rgba(0, 0, 0, .18), 0 5px 12px rgba(0, 0, 0, .30), 0 0 12px rgba(201, 151, 43, .16) !important;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    width: 100%;
    max-width: 218px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.login-input-group {
    position: relative;
    margin-bottom: 12px;
}

.login-input-group .form-control {
    background: linear-gradient(180deg, #f9f9f9 0%, #e0e0e0 100%);
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 0 40px 0 15px;
    height: 42px;
    font-size: 14px;
    color: #444;
    font-weight: bold;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
}

.login-input-group .form-control::placeholder {
    color: #888;
    font-weight: normal;
}

.login-input-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
    font-size: 16px;
    pointer-events: none;
}
.login-input-icon.clickable {
    pointer-events: auto;
    cursor: pointer;
}

.forgot-password-link {
    color: var(--tema-bg-5);
    font-size: 11px;
    text-decoration: none;
    display: block;
    text-align: right;
    margin-bottom: 15px;
}

.captcha-box {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-family: monospace;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    color: #fff;
}

.captcha-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.05) 10px, rgba(255,255,255,0.05) 20px);
    pointer-events: none;
}

.btn-masuk {
    background: radial-gradient(circle at 50% 0%, rgb(255 209 32 / 36%) 0%, rgba(255, 238, 173, 0) 46%), linear-gradient(180deg, #f0d58a 0%, #c9972b 44%, #d4a522 100%);
    border-radius: 11px;
    border: 1px solid rgb(107 88 20 / 56%);
    box-shadow: inset 0 1px 0 rgba(255, 238, 173, .60),
      inset 0 -2px 0 rgba(70, 35, 0, .22),
      0 7px 16px rgba(201, 151, 43, .18);
    color: #fff;
    font-weight: bold;
    height: 43px;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.btn-masuk:hover {
    filter: brightness(1.1);
    color: #fff;
}

.divider-container {
    position: relative;
    text-align: center;
    margin: 20px 0;
}

.divider-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1;
}

.divider-text {
    background: #1a0235;
    padding: 2px 15px;
    color: #aaa;
    font-size: 11px;
    position: relative;
    z-index: 2;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-login-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.2s;
    background: radial-gradient(circle at 50% 0%, rgba(211, 173, 255, 0.13) 0%, rgba(255, 238, 173, 0) 54%),
      linear-gradient(180deg, rgba(129, 56, 163, 0.98) 0%, rgba(21, 3, 31, 0.99) 100%);
    box-shadow: inset 0 1px 0 rgba(211, 173, 255, 0.08),
      inset 0 -8px 14px rgba(0, 0, 0, .20),
      0 4px 10px rgba(0, 0, 0, .20);
    border: 1px solid rgba(255, 255, 255, 0.62);
}

.social-login-btn img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-login-btn:hover {
    filter: brightness(1.2);
}

.btn-daftar {
    border-radius: 10px;
    border: 1px solid rgba(201, 43, 43, 0.58);
    background: linear-gradient(180deg, rgba(255, 238, 173, .09) 0%, rgba(255, 238, 173, 0) 34%),
      radial-gradient(circle at 50% 0%, rgba(201, 43, 43, 0.14) 0%, rgba(201, 43, 43, 0) 58%),
      linear-gradient(180deg, rgba(185, 2, 2, 0.96) 0%, rgba(94, 8, 8, 0.98) 100%);
    color: #fff;
    font-weight: bold;
    height: 39px;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-transform: uppercase;
}

.btn-daftar:hover {
    filter: brightness(1.2);
    color: #fff;
}

/* =========================================
   MENU CAROUSEL STYLES
   ========================================= */
.menu-carousel-arrow {
    width: 40px;
    height: 100%;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    z-index: 2;
    background: transparent;
    transition: color 0.3s;
}

.menu-carousel-arrow:hover {
    background: transparent;
    color: var(--accent-color);
}

.menu-carousel-item {
    width: 75px;
    flex-shrink: 0;
    background: transparent;
    color: #fff;
    transition: all 0.3s ease;
}

.menu-carousel-item:hover {
    transform: translateY(-2px);
}

.menu-carousel-item img {
    width: 75px;
    height: 56px;
    object-fit: contain;
    margin-bottom: 2px;
    transition: transform 0.3s ease;
}

.menu-carousel-item:hover img {
    transform: scale(1.1);
}

.menu-carousel-item span {
    font-size: 10px;
    font-weight: bold;
    line-height: 1;
    color: var(--accent-color);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.2; }
    100% { opacity: 1; }
}

.blink-anim {
    animation: blink 1s ease-in-out infinite;
}

/* =========================================
   PAYMENT METHODS STYLES
   ========================================= */
.payment-item {
    width: 90px;
    height: 40px;
    background-color: #1a1a1a; /* Dark background */
    border: 1px solid #777; /* Gray border */
    border-radius: 6px;
    margin: 5px 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px; /* Gap between indicator and image */
}

.payment-indicator {
    width: 6px;
    height: 6px;
    background-color: #00ff22; /* Green ON indicator */
    border-radius: 2px;
    box-shadow: 0 0 4px #00ff22; /* Glow effect */
    flex-shrink: 0;
}

.payment-item img {
    width: 70px;
    height: 20px;
    object-fit: contain;
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 70px;
    right: 15px;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 999;
    transition: background-color 0.3s, opacity 0.3s;
    opacity: 0;
    pointer-events: none;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top i {
    font-size: 16px;
    margin-bottom: -2px;
}

.scroll-to-top span {
    font-size: 11px;
    font-weight: bold;
}

.scroll-to-top:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

