::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}
::-webkit-scrollbar-track {
    background: #2a2a2a;
}
::-webkit-scrollbar-thumb {
    background: #e50914;
}
::-webkit-scrollbar-corner {
    background: #e50914;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

.logo {
    width: 250px;
    height: 30px;
    background-image: url("img/ic-lcweb.png");
    background-repeat: no-repeat;
    background-size: contain;
}

.modern-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: #111;
    border-bottom: 1px solid #e53935;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.modern-header h1 {
    font-size: 26px;
    margin-left: 6px;
    color: #e50914;
    letter-spacing: 1px;
}

.modern-header .left {
    display: flex;
    align-items: center;
    gap: 5px;
}

body {
    background-color: #121212;
    font-size: 12px;
    color: #ffffff;
    overflow-x: hidden;
}

.content {
    flex: 1;
    padding: 10px 15px 15px 15px;
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 500;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.overlay.active {
    opacity: 2;
    display: block;
    visibility: visible;
}

/* === BREADCRUMB STYLES === */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
    padding: 5px;
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 14px;
    flex-wrap: wrap;
}

.breadcrumb-link {
    color: #aaa;
    cursor: pointer;
    padding: 6px 5px;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    font-weight: 500;
}

.breadcrumb-link:hover {
    color: #fff;
    background: #2a2a2a;
    border-color: #444;
    transform: translateY(-1px);
}

.breadcrumb-link::after {
    content: "⇒";
    margin-left: 10px;
    color: #666;
    font-weight: bold;
    align-items: center;
}

.breadcrumb-link:last-child::after {
    content: none;
}

.breadcrumb-current {
    color: #e50914;
    padding: 6px 6px;
    font-weight: bold;
    position: relative;
}

/* Active state untuk breadcrumb links */
.breadcrumb-link.active {
    color: #fff;
    background: #2a2a2a;
}

/* Menu Styles - ALTERNATIVE CLEAN VERSION */
.menu {
    background: #1a1a1a;
    width: 250px;
    min-height: 100vh;
    padding: 5px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
    position: fixed;
    left: 0;
    top: 55px;
    z-index: 600;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease-in-out;
}

.menu-item {
    padding: 10px 12px;
    cursor: pointer;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #ddd;
    margin: 0;
    border-bottom: none;
    margin-bottom: 4px;
}

.menu-item:nth-child(2) {
    margin-top: 0;
}

.menu-item:nth-child(3) {
    margin-bottom: 10px;
}

.menu-item.tips {
    margin: 2px 0;
}

.menu-item i {
    margin-right: 6px;
    width: 25px;
    font-size: 16px;
    transition: color 0.3s ease;
}

.menu-item:hover {
    background-color: #2a2a2a;
    border-left: 3px solid #646060;
    color: #fff;
}

.menu-item:hover i {
    color: #fff;
}

.menu-item.active {
    background-color: #2a2a2a;
    border-left: 3px solid #e50914;
    color: #fff;
}

.menu-item.active i {
    color: #e50914;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(50deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-50deg) translate(7px, -7px);
}

.menu-item .fa-cogs {
    color: #ff6b6b;
}

.menu-item.tips[data-id="tips-setting-autobet"]:hover .fa-cogs,
.menu-item.tips[data-id="tips-setting-autobet"].active .fa-cogs {
    color: #ff6b6b;
}

/* === GRID Style === */
.bot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.grid-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}

.grid-item {
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.4);
    border: 1px solid #e50914;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
    cursor: pointer;
}

.grid-item h3 {
    margin-bottom: 10px;
    color: #e50914;
    font-size: 16px;
}

.grid-item p {
    font-size: 11px;
}

/* Informasi Update Styles */
.loading-updates {
    color: #aaa;
    font-style: italic;
    font-size: 14px;
}

.no-updates {
    text-align: center;
    color: #666;
    padding: 20px;
    font-style: italic;
}

.update-info-section {
    margin: 20px 0;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.update-title {
    color: #e50914;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.update-count {
    background: #e50914;
    color: white;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.update-count:hover {
    background: #b20710;
    transform: scale(1.05);
}

.update-list-container {
    max-height: 250px; /* Batasi tinggi untuk 2 item */
    overflow-y: auto;
}

.update-list-container::-webkit-scrollbar {
    width: 3px;
}
.update-list-container::-webkit-scrollbar-track {
    background: #474747;
    border-radius: 2px;
}

.update-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.update-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    margin-top: 4px;
    margin-right: 6px;
}

.update-item:hover {
    background: rgba(229, 9, 20, 0.1);
    border-color: #e50914;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(229, 9, 20, 0.2);
}

.update-item-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 15px;
    min-width: 80px;
}

.update-badge {
    background: #e50914;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.update-date {
    font-size: 11px;
    color: #aaa;
}

.update-item-content {
    flex: 1;
}

.update-item-title {
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.update-item-preview {
    color: #ccc;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

.update-item-arrow {
    color: #e50914;
    font-size: 14px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.update-item:hover .update-item-arrow {
    opacity: 1;
    transform: translateX(3px);
}

.bot-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-top: 5px;
    margin-bottom: 5px;
    max-height: 200px;
    padding: 5px;
}

.bot-card {
    background: #1a1a1a;
    border: 1px solid #e50914;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 0 12px rgba(229, 9, 20, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.bot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.8);
}

.bot-actions {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.bot-actions button {
    flex: 1;
    padding: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 12px;
}

/* BUTTON */
.btn-confirm { flex: 1; padding: 12px; background: #e50914; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.btn-cancel { flex: 1; padding: 12px; background: #555; color: white; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; }
.btn-masuk {
    background: #e50914;
    color: #fff;
}

.btn-masuk:hover {
    background: #b20710;
}

.btn-daftar {
    background: #16941c;
    color: #fff;
}

.btn-daftar:hover {
    background: #666;
}

.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
}

/* === Popup Message (Toastr style) === */
.popup-container {
    position: fixed;
    bottom: 15px;
    right: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.popup-msg {
    min-width: 200px;
    padding: 10px 16px;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
    background: #1a1a1a;
    opacity: 0;
    transform: translateX(120%);
    animation: slideInRight 0.5s forwards;
    border-left: 4px solid #e50914;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
}

.popup-success {
    border-left-color: #4CAF50;
}

.popup-error {
    border-left-color: #f44336;
}

.popup-warning {
    border-left-color: #ff9800;
}

.popup-msg.slide-out {
    animation: slideOutRight 0.5s forwards;
}

.dialog-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9000;
}

.dialog-box {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    padding: 8px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
    border: 1px solid #e50914;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.dialog-box h3 {
    font-size: 18px;
    padding: 10px 5px 5px 10px;
    color: #e50914;
    font-weight: 800;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.dialog-box button {
    width: 100%;
    max-width: auto;
    margin-top: 10px;
    padding: 10px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    background: #e50914;
    color: #fff;
    font-weight: bold;
}

.dialog-header {
    padding: 10px 5px 5px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-header h3 {
    color: #fff;
    align-items: center;
    margin: 0;
}

.dialog-content {
    overflow-y: auto;
    padding: 10px;
    animation: fadeInUp 0.3s ease;
    max-height: 80vh;
}

.dialog-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 24px;
    cursor: pointer;
    padding: 15px;
    width: 10px;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.dialog-close:hover {
    background: rgba(190, 44, 44, 0.452);
    color: #fff;
}

.dialog-footer {
    margin-top: 15px;
    text-align: center;
    font-size: 13px;
    color: #ccc;
}

.dialog-footer .link-btn {
    font-size: 14px;
    background: none;
    border: none;
    color: #ff010d;
    cursor: pointer;
    margin-left: 4px;
    transition: color 0.3s;
}

.dialog-footer .link-btn:hover {
    color: #fff;
    text-decoration: underline;
}

.dialog-popup {
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
    padding: 20px;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.6);
    border: 1px solid #e50914;
    position: relative;
    animation: fadeInUp 0.3s ease;
}

.dialog-popup h3 {
    font-size: 18px;
    padding-bottom: 5px;
    color: #e50914;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dialog-message {
    margin: 15px 0;
    font-size: 14px;
    color: #ddd;
}

.dialog-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.dialog-buttons button {
    padding: 8px 14px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

.btn-yes {
    background: #e50914;
    color: #fff;
}

.btn-no {
    background: #444;
    color: #fff;
}

.auth-buttons {
    margin-left: auto;
    display: flex;
    gap: 6px;
}

.btn-auth {
    background: transparent;
    border: 1px solid #e50914;
    font-weight: 800;
    color: #e50914;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: 0.3s;
}

.btn-auth:hover {
    background: #e50914;
    color: #fff;
}

.btn-profile {
    border: none;
    color: #c62828;
    background: transparent;
    font-size: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.btn-profile:hover {
    background: #ffffff00;
    transform: scale(1.05);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.profile-avatar {
    font-size: 55px;
    color: #9c2c2c;
}

.profile-main h2 {
    font-size: 1.3em;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.profile-main small {
    color: #888;
    font-size: 0.9em;
}

.profile-listM {
    font-size: 14px;
}

.profile-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 6px 8px 2px;
    margin: 0 4px;
    background: transparent;
    border-bottom: 1px solid #333;
}

.profile-item:hover {
    cursor: pointer;
    background: #333;
}

.profile-footer {
    margin-top: 10px;
    text-align: center;
}

.input-group {
    position: relative;
    margin: 10px 0 15px 0;
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #444;
    border-radius: 6px;
    background: #121212;
    color: #fff;
    font-size: 14px;
    outline: none;
}

.input-group label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #dd3737;
    pointer-events: none;
    transition: 0.2s ease all;
    font-size: 14px;
    background: #121212;
    border-radius: 4px;
    padding: 3px 6px;
}

/* Saat input fokus atau ada value, label naik */
.input-group input:focus + label,
.input-group input:not(:placeholder-shown) + label {
    top: 0px;
    font-size: 11px;
    color: #cccccc;
}

/* Eye toggle password */
.input-group .toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    font-size: 16px;
    transition: 0.3s;
}

.input-group .toggle-password:hover {
    color: #ffffffc5;
}

.form-options {
    display: flex;
    padding: 8px 0 8px 4px;
    align-items: center;
    justify-content: space-between;
}

.form-options .remember {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #ddd;
    cursor: pointer;
    white-space: nowrap;
}

.form-options input[type="checkbox"] {
    accent-color: #e50914;
    cursor: pointer;
}

.form-options .forgot-btn {
    background: none;
    border: none;
    color: #e50914;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    white-space: nowrap;
    align-self: flex-start;
    padding-top: 2px;
    margin-left: auto;
}

.form-options .forgot-btn:hover {
    color: #fff;
    text-decoration: underline;
}

.single-line { display:flex; justify-content:space-between; align-items:center; gap: 10px;}

.btn-verify {
    max-width: 100px;
    margin: 10px 0;
    height: 38px;
}

.verify-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.verify-group input {
    flex: 1;
}

.verify-group .btn-verify {
    background: #e50914;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
}

.verify-group .btn-verify:hover {
    background: #b20710;
}

.verify-group .btn-verify:disabled {
    font-size: 11px;
    background: #555;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Topup Dialog Styles */
.topup-dialog {
    background: #1a1a1a;
    border-radius: 12px;
    border: 1px solid #333;
    max-width: 400px;
    width: 90%;
    color: white;
}

.topup-header {
    padding: 15px 20px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.topup-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    color: #fff;
}

.topup-amount {
    font-size: 24px;
    font-weight: bold;
    color: #e50914;
    margin: 10px 0;
}

.topup-bank {
    font-size: 12px;
    color: #aaa;
    margin: 5px 0;
}

.topup-divider {
    height: 1px;
    background: #333;
    margin: 15px 0;
}

.topup-section {
    padding: 15px 10px;
}

.topup-section-title {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #fff;
}

.amount-input-group {
    margin-bottom: 15px;
}

.amount-input {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    text-align: center;
}

.amount-input:focus {
    outline: none;
    border-color: #e50914;
}

.amount-min {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: 5px;
}

/* Quick Amount Grid */
.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.coins-packages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.coins-package {
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: #2a2a2a;
}

.coins-package:hover {
    border-color: #e50914;
    background: #1a1a1a;
}

.coins-package.active {
    border-color: #e50914;
    background: #1a1a1a;
}

/* === PACKAGE SELECTION STYLES === */
.package-selection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 15px;
}

.package-item {
    border: 1px solid #333;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a2a2a;
    position: relative;
    overflow: hidden;
}

.package-item:hover {
    border-color: #e50914;
    background: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.package-item.selected {
    border-color: #e50914;
    background: #1a1a1a;
    box-shadow: 0 0 15px rgba(229, 9, 20, 0.4);
}

.package-item.selected::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    background: #e50914;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.package-amount {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.package-value {
    font-size: 14px;
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 5px;
}

.package-label {
    font-size: 10px;
    color: #aaa;
    margin-top: 5px;
}

/* Untuk grid 3 kolom (quick amount) */
.package-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.package-item-small {
    padding: 12px 8px;
    border: 1px solid #444;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #2a2a2a;
    color: white;
    font-size: 14px;
}

.package-item-small:hover {
    background: #333;
    border: 1px solid #e50914;
}

.package-item-small.selected {
    background: #1a1a1a;
    border: 1px solid #e50914;
    color: white;
}

.package-item-small.selected::before,
.package-item.selected::before {
    content: '✓';
    position: absolute;
    top: 5px;
    right: 8px;
    background: #e50914;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.package-item-small {
    position: relative;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.payment-method {
    padding: 12px;
    background: #2a2a2a;
    border: 1px solid #444;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    background: #333;
    border-color: #e50914;
}

.payment-method.active {
    background: #2a2a2a;
    border: 1px solid #e50914;
    box-shadow: 0 0 10px rgba(229, 9, 20, 0.3);
}

.payment-icon {
    font-size: 20px;
    margin-bottom: 5px;
}

.payment-name {
    font-size: 12px;
    color: white;
}

/* TAB BOT */
.bot-tabs {
    display: flex;
    gap: 4px;
    margin: 8px 0;
}

.tab-btn {
    flex: 1;
    position: relative;
    font-size: 14px;
    padding: 8px;
    border: none;
    border-radius: 4px;
    background: #2a2a2a;
    color: #aaa;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}

.tab-btn.active {
    background: #e50914;
    color: #fff;
}

.prediction-container {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 225px);
    background: #1a1a1a;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #333;
}

.prediction-header {
    flex-shrink: 0;
}

.prediction-content {
    flex: 1;
    overflow-y: auto;
    background: #1a1a1a;
    position: relative;
}

.predict-tabs, .autobet-tabs {
    display: flex;
    gap: 4px;
    margin: 8px 0;
    width: 100%;
    flex-wrap: nowrap;
    align-items: stretch;
}

.predict-tab, .autobet-tab {
    position: relative;
    display: flex;
    flex: 1;
    min-width: 0;
}

.predict-btn, .autobet-btn {
    padding: 5px 5px;
    background: #2a2a2a;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 5px;
    border: 1px solid #333;
}

.predict-btn:hover, .autobet-btn:hover {
    background: #444;
}

.predict-dropdown, .autobet-dropdown {
    display: none;
    position: absolute;
    margin-top: 4px;
    top: 100%;
    left: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    width: 100%;
    min-width: auto;
    z-index: 50;
    padding: 4px;
}

.predict-selected, .autobet-selected {
    font-size: 10px;
    color: #bbb;
    margin-top: 3px;
    line-height: 1;
    pointer-events: none;
}

.predict-item, .autobet-item {
    padding: 5px 5px;
    font-size: 10px;
    color: #ccc;
    cursor: pointer;
}

.predict-item:hover, .autobet-item:hover {
    background: #e50914;
    color: #fff;
    border-radius: 2px;
}

.predict-tab.open .predict-dropdown, .autobet-tab.open .autobet-dropdown{
    display: block;
}

.predict-tab.mode-tab, .autobet-tab.mode-tab {
    flex: 1;
}

.mode-box, .autobet-box {
    padding: 5px 5px;
    background: #2a2a2a;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #333;
    text-align: center;
}

.mode-title {
    font-size: 12px;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 4px;
}

.mode-timer {
    font-size: 10px;
    font-weight: bold;
    color: #bbb;
    line-height: 1;
}

.mode-box:hover {
    background: #444;
}

.mode-box.selected {
    background: #220000;
    border: 1px solid #e50914;
    color: #e50914;
}

/* START/STOP button style */
#start-stop-btn {
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
}

#start-stop-btn.start-btn {
    background: #28a745; /* hijau */
}

#start-stop-btn.start-btn:hover {
    background: #218838;
}

#start-stop-btn.stop-btn {
    background: red; /* merah */
}

#start-stop-btn.stop-btn:hover {
    background: #ac0a0a;
}

.setting-btn {
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    color: #fff;
    transition: all 0.3s ease;
    width: 100%;
    min-height: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    background: #444;
}

.setting-btn:hover {
    background: #555;
}

/* History Section Styles */
.history-section {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.history-table-container {
    flex: 1;
    overflow-y: auto;
}

.history-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
    table-layout: fixed;
}

.history-table th {
    background: #333;
    color: #ffffff;
    padding: 10px 8px;
    text-align: left;
    font-weight: 700;
    border-bottom: 2px solid #b20710;
    position: sticky;
    top: 0;
    z-index: 10;
}

.history-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #333;
    color: #ddd;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.history-table th:nth-child(1),
.history-table td:nth-child(1) {
    width: 30%;
}

.history-table th:nth-child(2),
.history-table td:nth-child(2) {
    width: 20%;
    align-items: center;
    text-align: center;
}

.history-table th:nth-child(3),
.history-table td:nth-child(3) {
    width: 15%;
    align-items: center;
    text-align: center;
}

.history-table th:nth-child(4),
.history-table td:nth-child(4) {
    width: 15%;
    align-items: center;
    text-align: center;
}

.history-table th:nth-child(5),
.history-table td:nth-child(5) {
    width: 20%;
    align-items: center;
    text-align: center;
}

.history-row.win td {
    background: rgba(76, 175, 80, 0.1);
}

.history-row.los td {
    background: rgba(229, 57, 53, 0.1);
}

.history-table tbody {
    position: relative;
    min-height: 200px;
}

.result-badge {
    display: inline-flex;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-weight: bold;
    font-size: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.status-badge {
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
}

.status-badge.winn {
    background: #4CAF50;
    color: white;
}

.status-badge.lose {
    background: #E53935;
    color: white;
}

.no-data {
    text-align: center;
    margin-top: 40%;
    color: #888;
    position: absolute;
    min-width: 100%;
}

/* Statistic Section Styles */
.prediction-footer {
    background: #2a2a2a;
    padding: 4px;
}

.statistic-section {
    width: 100%;
}

.statistic-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
}

.stat-item {
    text-align: center;
    padding: 5px 10px;
    background: #1a1a1a;
    border-radius: 4px;
    border: 1px solid #333;
}

.stat-item .stat-value#win-streak {
    transition: all 0.3s ease;
}

.stat-item .stat-value#lose-streak {
    transition: all 0.3s ease;
}

.stat-item .stat-value.high-streak {
    animation: pulse 1s infinite;
}

.stat-item .stat-icon {
    font-size: 16px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
}

.stat-label {
    font-size: 9px;
    color: #aaa;
    margin-bottom: 3px;
    text-transform: uppercase;
}

.stat-value {
    font-size: 11px;
    font-weight: bold;
    color: #fff;
}

.stat-value.win {
    color: #4CAF50;
}

.stat-value.los {
    color: #E53935;
}

.stat-value.profit {
    color: #4CAF50;
}

.stat-value.failed {
    color: #E53935;
}

#global-loading {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-box {
    background: #1a1a1a;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    color: #fff;
    font-size: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.spinner {
    width: 32px;
    height: 32px;
    border: 4px solid #333;
    border-top: 4px solid #e50914;
    border-radius: 50%;
    animation: spinner 1s linear infinite;
}

/* === Chatbox === */
.chatbox {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 295px);
    overflow: hidden;
    background: #1a1a1a;
}

.chat-messages {
    flex: 1;
    padding: 5px;
    overflow-y: auto;
    font-size: 12px;
    line-height: 1.4;
}

.chat-msg {
    display: flex;
    margin: 8px 0;
    max-width: 80%;
}

.chat-msg.user {
    justify-content: flex-end;
    margin-left: auto;
}

.chat-bubble {
    padding: 8px 12px;
    border-radius: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}

.chat-msg.user .chat-bubble {
    background: linear-gradient(135deg, #e50914, #b20710);
    color: #fff;
    text-align: right;
    border-bottom-right-radius: 2px;
}

.chat-msg.other .chat-bubble {
    background: #444;
    color: #eee;
    border-bottom-left-radius: 2px;
}

.chat-sender {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 2px;
}

.chat-text {
    font-size: 12px;
    line-height: 1.4;
}

.chat-time {
    font-size: 10px;
    opacity: 0.7;
    margin-top: 2px;
}

.system-time {
    font-size: 9px;
    color: #666;
}

.chat-input {
    display: flex;
    border-top: 1px solid #333;
    padding-top: 6px;
    background: #1a1a1a;
    color: white;
}

.chat-input input {
    flex: 1;
    padding: 12px;
    border: none;
    outline: none;
    background: #121212;
    color: #fff;
    font-size: 14px;
    border-radius: 6px 0 0 6px;
}

.chat-input button {
    background: #e50914;
    border: none;
    padding: 0 18px;
    cursor: pointer;
    color: #fff;
    font-weight: bold;
    transition: background 0.3s;
    border-radius: 0 6px 6px 0;
}

.chat-input button:hover {
    background: #b20710;
}

.typing-indicator {
    display: none;
    padding: 8px 12px;
    background: rgba(42, 42, 42, 0.95);
    border-top: 1px solid #333;
    font-style: italic;
    color: #888;
    font-size: 11px;
    align-items: center;
    gap: 8px;
    margin: 0;
    border-radius: 0;
}

.typing-indicator-content {
    display: flex;
    align-items: center;
    gap: 5px;
}

.typing-dots {
    display: flex;
    gap: 3px;
}

.typing-dots span {
    width: 6px;
    height: 6px;
    background: #888;
    border-radius: 50%;
    animation: typing 1.4s infinite ease-in-out;
}

.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

.typing-text {
    font-size: 11px;
    color: #aaa;
}

@keyframes typing {
    0%, 60%, 100% {
      transform: translateY(0);
      opacity: 0.4;
    }
    30% {
      transform: translateY(-5px);
      opacity: 1;
    }
}

.scroll-bottom {
    position: absolute;
    bottom: 10px;
    right: 20px;
    background: rgba(229, 9, 20, 0.50);
    border: none;
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.4);
    transition: opacity 0.3s ease, transform 0.2s ease;
    z-index: 10;
}

.scroll-bottom.show {
    display: flex;
    opacity: 1;
    pointer-events: auto;
}

.scroll-bottom:hover {
    background: #b20710;
    transform: scale(1.1);
}

/* Bottom Sheet Styles */
.bottom-sheet-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.bottom-sheet-overlay.active {
    opacity: 1;
    visibility: visible;
}

.bottom-sheet {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    background: #2d3748;
    border-radius: 15px 15px 0 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
    z-index: 1001;
    transition: bottom 0.3s ease;
    max-height: 60vh;
    display: flex;
    flex-direction: column;
}

.bottom-sheet.active {
    bottom: 0;
}

.bottom-sheet-header {
    padding: 10px;
    border-bottom: 1px solid #4a5568;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-sheet-title {
    font-size: 18px;
    font-weight: bold;
    color: white;
    margin: 0;
}

.bottom-sheet-close {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-sheet-content {
    padding: 12px;
    color: #e2e8f0;
    overflow-y: auto;
    flex: 1;
}

.bottom-sheet-content h4 {
    color: #63b3ed;
    margin-bottom: 15px;
}

.bottom-sheet-content p {
    margin-bottom: 15px;
    line-height: 1.5;
}

.bottom-sheet-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.bottom-sheet-content li {
    margin-bottom: 8px;
    line-height: 1.4;
}

/*Bank Style*/
.section-title {
    font-size: 14px;
    font-weight: bold;
    color: #bebebe;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.withdrawal-container {
    max-height: 70vh;
    overflow-y: auto;
}

.bank-section {
    margin-bottom: 20px;
}

.bank-list {
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ddd;
    border-radius: 8px;
    margin-bottom: 10px;
}

.bank-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bank-item:hover {
    border-color: #555;
    background: #333;
}

.bank-item.selected {
    background: #a10b12a6;
}

.bank-icon {
    font-size: 20px;
    width: 45px;
    height: 45px;
    background: #2196f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
}

.bank-details {
    flex: 1;
}

.bank-name {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 4px;
}

.bank-account {
    font-size: 14px;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 2px;
}

.bank-nickname {
    font-size: 10px;
    color: #888;
}

.bank-check {
    color: #09e514;
    font-size: 16px;
    border-radius: 50%;
    padding: 8px 10px;
    transition: opacity 0.4s ease;
    opacity: 0;
}

.bank-item.selected .bank-check {
    opacity: 1;
    background: #807d7d;
}

.no-banks {
    text-align: center;
    padding: 30px;
    color: #666;
}

.no-banks i {
    font-size: 30px;
    margin-bottom: 15px;
    color: #444;
}

/* === TRANSACTION HISTORY STYLES === */
.transaction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.transaction-title {
    color: #ffffff;
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.transaction-controls {
    display: inline-flex;
    gap: 5px;
    align-items: center;
}

/* Dropdown Filter Styles */
.filter-dropdown {
    position: relative;
    min-width: 120px;
}

.filter-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
}

.filter-dropdown-btn:hover {
    border-color: #e50914;
    background: #333;
}

.filter-dropdown-btn.active {
    border-color: #e50914;
    background: #1a1a1a;
}

.filter-dropdown-btn i {
    margin-left: 8px;
    font-size: 10px;
    transition: transform 0.3s ease;
}

.filter-dropdown-btn.active i {
    transform: rotate(180deg);
}

.filter-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: none;
    overflow: hidden;
}

.filter-dropdown-menu.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.filter-dropdown-item {
    padding: 10px 15px;
    font-size: 12px;
    color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #333;
}

.filter-dropdown-item:last-child {
    border-bottom: none;
}

.filter-dropdown-item:hover {
    background: #2a2a2a;
    color: #e50914;
}

.filter-dropdown-item.selected {
    background: #e50914;
    color: white;
}

/* Refresh Button */
.refresh-btn {
    display: flex;
    align-items: center;
    padding: 7px 14px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.refresh-btn:hover {
    background: #e50914;
    border-color: #e50914;
}

.refresh-btn:active {
    transform: translateY(0);
}

/* Transaction List Improvements */
.transaction-list-container {
    background: #1a1a1a;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.transaction-list {
    min-height: 400px;
}

.transaction-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    border-bottom: 1px solid #333;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
}

.transaction-item:last-child {
    border-bottom: none;
}

.transaction-item:hover {
    background: rgba(42, 42, 42, 0.8);
}

.transaction-icon {
    font-size: 20px;
    width: 45px;
    height: 45px;
    background: #2a2a2a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #333;
}

.transaction-details {
    flex: 1;
    min-width: 0;
}


.transaction-meta {
    display: flex;
    gap: 15px;
    font-size: 11px;
    color: #888;
    margin-bottom: 4px;
}

.transaction-note {
    font-size: 11px;
    color: #aaa;
    line-height: 1.4;
    margin-bottom: 5px;
}

.transaction-amount-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.transaction-amount {
    font-weight: bold;
    font-size: 11px;
    line-height: 1;
}

.transaction-amount.positive {
    color: #4CAF50;
}

.transaction-amount.negative {
    color: #f44336;
}

.transaction-status {
    padding: 4px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}

.transaction-status.success {
    color: #4CAF50;
}

.transaction-status.pending {
    color: #ff9800;
}

.transaction-status.failed {
    color: #f44336;
}

.transaction-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding: 20px 0;
    border-top: 1px solid #333;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    background: #2a2a2a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pagination-btn:not(:disabled):hover {
    background: #e50914;
    border-color: #e50914;
    transform: translateY(-1px);
}

.pagination-info {
    color: #aaa;
    font-size: 12px;
    font-weight: 500;
}

/* Empty State */
.no-transactions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #666;
}

.no-transactions i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-transactions p {
    font-size: 14px;
    margin-bottom: 5px;
}

.no-transactions small {
    font-size: 11px;
    color: #888;
}

/* Loading State */
.loading-transactions {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.loading-transactions .spinner {
    border: 3px solid #333;
    border-top: 3px solid #e50914;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

.loading-transactions p {
    color: #aaa;
    font-size: 14px;
}

/* Error State */
.error-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #f44336;
}

.error-message i {
    font-size: 40px;
    margin-bottom: 15px;
}

.error-message p {
    font-size: 14px;
    margin-bottom: 15px;
}

.retry-btn {
    padding: 10px 20px;
    background: #e50914;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.retry-btn:hover {
    background: #b20710;
    transform: translateY(-1px);
}

.login-status-info { border: 1px solid #4CAF50; }
.manual-bet-tabs { width: 100%; }
.bet-tab-header { display: flex; background: #2a2a2a; border-radius: 8px; padding: 4px; margin-bottom: 15px; }
.bet-tab-btn { flex: 1; padding: 10px; background: transparent; border: none; color: #888; font-weight: bold; border-radius: 6px; cursor: pointer; transition: all 0.3s ease; }
.bet-tab-btn.active { background: #e50914; color: white; }
.bet-tab-panel { display: none; }
.bet-tab-panel.active { display: block; }
.manual-bet-content { padding: 0; }
.bet-info { background: #2a2a2a; padding: 5px 10px; margin-bottom: 5px; border-radius: 4px; }
.period-info p { margin: 0; color: #fff; font-weight: bold; font-size: 14px; }
.bet-amount-section { background: #2a2a2a; padding: 10px; border-radius: 8px; margin-bottom: 6px; }
.bet-amount-display { display: flex; gap: 6px; }
.bet-amount-input { flex: 1; padding: 6px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; color: white; font-size: 16px; font-weight: bold; text-align: center; width: 100%; max-width: auto; }
.bet-multipliers { display: flex; gap: 6px; }
.multiplier-btn { padding: 10px; background: #333; border: none; border-radius: 6px; color: white; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.multiplier-btn:hover { background: #444; }
.multiplier-btn.active { background: #e50914; }
.bet-quick-amounts { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr; gap: 6px; margin-bottom: 6px; }
.quick-amount-btn { padding: 10px; background: #333; border: none; border-radius: 5px; color: white; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.quick-amount-btn:hover { background: #444; }
.quick-amount-btn.active { background: #4CAF50; }
.bet-types-section { background: #2a2a2a; padding: 10px; border-radius: 8px; margin-bottom: 5px; }
.bet-types-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.bet-types-row:last-child { grid-template-columns: 1fr 1fr 1fr 1fr; margin-bottom: 0; }
.bet-type-btn { padding: 12px; border: none; border-radius: 6px; color: white; font-weight: bold; cursor: pointer; transition: all 0.3s ease; }
.bet-type-btn:hover { opacity: 0.9; }
.bet-type-btn.active { transform: scale(0.95); box-shadow: 0 0 0 2px #fff; }
.bet-type-btn:disabled { opacity: 0.6; cursor: not-allowed; }
.bet-type-btn .fa-spinner { animation: spin 1s linear infinite; }
.besar-btn { background: #00315fff; }
.kecil-btn { background: #0077ffff; }
.km-btn { background: linear-gradient(120deg, #0077ffff, #ff0000ff); }
.kh-btn { background: linear-gradient(120deg, #0077ffff, #006400); }
.bm-btn { background: linear-gradient(120deg, #00315fff, #ff0000ff); }
.bh-btn { background: linear-gradient(120deg, #00315fff, #006400); }
.bet-actions { padding: 0 15px; }
.btn-place-bet { background: #4CAF50; color: white; border: none; padding: 15px; border-radius: 6px; cursor: pointer; font-weight: bold; width: 100%; font-size: 16px; transition: all 0.3s ease; }
.btn-place-bet:hover { background: #45a049; }
.btn-place-bet:disabled { background: #666; cursor: not-allowed; }
.account-info { padding: 10px 0; }
.account-form-container { background: #2a2a2a; padding: 15px; border-radius: 8px; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; color: #888; font-weight: bold; margin-bottom: 5px; font-size: 12px; }
.form-input { width: 100%; padding: 10px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; color: white; font-size: 14px; box-sizing: border-box; }
.form-input:focus { outline: none; border-color: #e50914; }
.form-options { margin: 15px 0; }
.checkbox-container { display: flex; align-items: center; cursor: pointer; color: #ddd; font-size: 14px; }
.checkbox-container input { display: none; }
.checkmark { width: 18px; height: 18px; background: #1a1a1a; border: 1px solid #333; border-radius: 3px; margin-right: 8px; position: relative; }
.checkbox-container input:checked + .checkmark { background: #4CAF50; border-color: #4CAF50; }
.checkbox-container input:checked + .checkmark:after { content: "✓"; position: absolute; color: white; font-size: 12px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.form-actions { display: flex; gap: 10px; margin-top: 20px; }
.btn-login-account { flex: 1; padding: 12px; border: none; border-radius: 6px; cursor: pointer; font-weight: bold; transition: all 0.3s ease; background: #2196F3; color: white; }
.btn-login-account:hover { background: #1976D2; }
.account-details { background: #1a1a1a; padding: 10px; border-radius: 8px; margin-bottom: 8px; }
.account-item { display: flex; justify-content: space-between; margin-bottom: 10px; padding-bottom: 10px; border-bottom: 1px solid #333; }
.account-item:last-child { margin-bottom: 0; padding-bottom: 0; border-bottom: none; }
.account-label { color: #888; font-weight: bold; }
.account-value { color: white; font-weight: bold; }

@keyframes pulseOpc { 0% { opacity: 1; } 50% { opacity: 0.7; } 100% { opacity: 1; } }
@keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes glow { 0% { box-shadow: 0 0 5px rgba(229, 9, 20, 0.5); } 50% { box-shadow: 0 0 15px rgba(229, 9, 20, 0.8); } 100% { box-shadow: 0 0 5px rgba(229, 9, 20, 0.5); } }
@keyframes pulse-badge { 0% { transform: scale(1); } 50% { transform: scale(1.1); } 100% { transform: scale(1); } }
@keyframes typing-bounce { 0%, 80%, 100% { transform: scale(0.8); opacity: 0.5; } 40% { transform: scale(1); opacity: 1; } }
@keyframes spinner { to { transform: rotate(360deg); } }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(120%); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideOutRight { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(120%); } }
@keyframes breadcrumbPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(229, 9, 20, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(229, 9, 20, 0);
    }
}

.breadcrumb-current.pulse {
    animation: breadcrumbPulse 2s infinite;
}

@media (max-width: 630px) {
  .modern-header { padding: 10px 12px; position: relative; display: flex; justify-content: space-between; align-items: center; }
  .modern-header h1 { font-size: 20px; margin-left: 0; }
  .modern-header .left { display: flex; align-items: center; flex: 1; }
  .logo { width: 170px; height: 28px; margin-left: 0; }
  .auth-buttons { margin-left: 0; display: flex; gap: 5px; order: 1; }
  .header-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
  .btn-profile { border: none; color: #c62828; background: transparent; font-size: 26px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease, background 0.2s ease; }
  .overlay { display: none; }
  .overlay.active { display: block; }
  .menu { top: 60px; right: 0; left: auto; width: 220px !important; box-shadow: -2px 0 10px rgba(0, 0, 0, 0.5); transform: translateX(100%); display: flex !important; }
  .menu.active { transform: translateX(0); }
  .content { margin-left: 0; padding: 10px; transition: margin-left 0.3s ease; }
  .hamburger { display: flex; order: 2; }
  .hamburger span { width: 25px; height: 3px; background: #e50914; margin: 3px 0; transition: 0.3s; }
  .hamburger.active span:nth-child(1) { transform: rotate(50deg) translate(6px, 6px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-50deg) translate(7px, -7px); }
  .grid-menu { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 631px) {
    .menu {
        transform: translateX(0);
    }
    .content {
        margin-left: 250px;
    }
    .hamburger {
        display: none;
    }
    .overlay {
        display: none !important;
    }
}