/* ==========================================
   TRADERUNE DESK - CSS GACOR
   ========================================== */

/* --- HEADER TABEL --- */
.journal-row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px 15px 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #8a93a6;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'JetBrains Mono', monospace;
}

/* --- TOMBOL TOP BAR (BACKUP/RESTORE) --- */
.btn-elite-outline {
    background: rgba(255, 255, 255, 0.02);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 1px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: 10px;
}
.btn-elite-outline:hover {
    color: #fff;
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    box-shadow: 0 5px 20px rgba(192, 132, 252, 0.3);
    transform: translateY(-3px);
}

/* --- TOMBOL ACTION DI DALEM ROW (MATA, EDIT, FOTO, TRASH) --- */
.j-action-btns button {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}
/* Hover Eye */
.j-action-btns button:nth-child(1):hover { border-color: #fff !important; box-shadow: 0 0 15px rgba(255,255,255,0.3); transform: translateY(-3px) scale(1.1); }
/* Hover Edit */
.j-action-btns button:nth-child(2):hover { border-color: #c084fc !important; box-shadow: 0 0 15px rgba(192,132,252,0.4); transform: translateY(-3px) scale(1.1); }
/* Hover Camera */
.j-action-btns button:nth-child(3):hover { border-color: #d8b4fe !important; box-shadow: 0 0 15px rgba(216,180,254,0.4); transform: translateY(-3px) scale(1.1); }
/* Hover Trash */
.j-action-btns button:nth-child(4):hover { background: rgba(239,83,80,0.1) !important; border-color: #ef5350 !important; box-shadow: 0 0 15px rgba(239,83,80,0.4); transform: translateY(-3px) scale(1.1); }
.j-action-btns button:nth-child(4):hover i { color: #ef5350 !important; }

/* --- PAGINATION (HALAMAN BAWAH) --- */
.pagination-elite {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
    padding-bottom: 20px;
}
.pagination-elite button {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    color: #a1a1aa;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
}
.pagination-elite button:hover:not([disabled]) {
    color: #fff;
    border-color: #c084fc;
    background: rgba(192, 132, 252, 0.1);
    box-shadow: 0 5px 15px rgba(192, 132, 252, 0.3);
    transform: translateY(-2px);
}
.pagination-elite button[disabled] {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ==========================================
   THE ELITE EXECUTION VAULT (MODAL)
   ========================================== */

.elite-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10, 8, 15, 0.85); 
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
    padding: 20px; 
    animation: fadeInOverlay 0.3s ease;
}

.elite-modal-box {
    background: linear-gradient(145deg, rgba(20, 15, 30, 0.95), rgba(10, 8, 15, 0.95));
    border: 1px solid rgba(192, 132, 252, 0.3);
    box-shadow: 0 30px 60px rgba(0,0,0,0.9), inset 0 0 30px rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    padding: 25px 30px;
    width: 100%;
    max-width: 720px; 
    max-height: 90vh; 
    display: flex;
    flex-direction: column; 
    position: relative;
    animation: modalPopUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Area daleman modal yang bisa di-scroll */
.elite-modal-body {
    flex: 1; 
    overflow-y: auto; 
    overflow-x: hidden;
    padding-right: 15px; 
    margin-right: -5px; 
}

/* Animasi Bouncing Modal */
@keyframes fadeInOverlay { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalPopUp {
    0% { transform: translateY(40px) scale(0.95); opacity: 0; }
    100% { transform: translateY(0) scale(1); opacity: 1; }
}

/* Tombol Silang (Close) */
.elite-close-btn {
    color: #666;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
}
.elite-close-btn:hover {
    color: #ef5350;
    background: rgba(239, 83, 80, 0.1);
    border-color: rgba(239, 83, 80, 0.4);
    transform: rotate(90deg); 
    box-shadow: 0 0 15px rgba(239, 83, 80, 0.4);
}

/* Input Form Modal */
.elite-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 12px 15px;
    border-radius: 8px;
    color: #fff !important;
    font-family: 'JetBrains Mono', monospace; 
    font-size: 13px;
    transition: all 0.3s ease;
    outline: none;
}
.elite-input:focus {
    border-color: #c084fc !important;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.3) !important;
    background: rgba(20, 15, 30, 0.8) !important;
}

/* Scrollbar Neon Khusus Area Dalam */
.custom-scroll::-webkit-scrollbar, .elite-modal-body::-webkit-scrollbar { width: 4px; }
.custom-scroll::-webkit-scrollbar-track, .elite-modal-body::-webkit-scrollbar-track { background: transparent; }
.custom-scroll::-webkit-scrollbar-thumb, .elite-modal-body::-webkit-scrollbar-thumb { 
    background: rgba(168, 85, 247, 0.3); 
    border-radius: 10px; 
    transition: 0.3s;
}
.custom-scroll::-webkit-scrollbar-thumb:hover, .elite-modal-body::-webkit-scrollbar-thumb:hover { 
    background: rgba(192, 132, 252, 0.9); 
    box-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}