/* ===== FULL WIDTH ADMIN ===== */
.ac-wrap { max-width: 100% !important; }
#wpcontent, #wpbody-content { padding-right: 10px !important; }
.ac-wrap .wp-list-table { width: 100% !important; }

/* ===== CARDS ===== */
.ac-card { background: #fff; border: 1px solid #ddd; border-radius: 8px; padding: 20px; margin-bottom: 20px; box-shadow: 0 2px 4px rgba(0,0,0,.05); width: 100%; }

/* ===== STAT CARDS FULL WIDTH ===== */
.ac-stat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; margin-bottom: 25px; width: 100%; }
.ac-stat-card { color:#fff; padding:25px 15px; border-radius:10px; text-align:center; box-shadow: 0 4px 10px rgba(0,0,0,.15); }
.ac-stat-icon { font-size:32px; margin-bottom:8px; }
.ac-stat-num { font-size:26px; font-weight:bold; }
.ac-stat-label { font-size:12px; opacity:.9; margin-top:4px; }

/* ===== LOGO HEADER ===== */
.ac-header { display:flex; align-items:center; gap:15px; margin-bottom:25px; padding:20px; background:#fff; border-radius:10px; border-left:5px solid #c0392b; box-shadow:0 2px 8px rgba(0,0,0,.08); }
.ac-header-logo { width:60px; height:60px; object-fit:contain; }
.ac-header-logo-fallback { width:60px; height:60px; background:#c0392b; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:28px; }
.ac-header-title h1 { margin:0; color:#c0392b; font-size:24px; font-weight:800; }
.ac-header-title p { margin:0; color:#888; font-size:13px; }
.ac-header-badge { margin-left:auto; background:#c0392b; color:#fff; padding:5px 15px; border-radius:20px; font-size:12px; font-weight:bold; }

/* ===== BADGES ===== */
.ac-badge { display:inline-block; padding:3px 12px; border-radius:20px; font-size:11px; font-weight:bold; }
.ac-badge.baru { background:#3498db; color:#fff; }
.ac-badge.invoice_dikirim { background:#f39c12; color:#fff; }
.ac-badge.lunas { background:#27ae60; color:#fff; }
.ac-badge.aktif { background:#1abc9c; color:#fff; }
.ac-badge.selesai { background:#8e44ad; color:#fff; }
.ac-badge.batal { background:#e74c3c; color:#fff; }
.ac-badge.belum_bayar { background:#e74c3c; color:#fff; }

/* ===== TABS ===== */
.ac-tabs { margin-bottom:0; }
.ac-tab-btn { background:#f1f1f1; border:1px solid #ddd; border-bottom:none; padding:8px 20px; cursor:pointer; border-radius:4px 4px 0 0; margin-right:3px; font-size:13px; }
.ac-tab-btn.active { background:#fff; font-weight:bold; border-bottom:1px solid #fff; color:#c0392b; }
.ac-tab-content { border-radius:0 8px 8px 8px; }
.ac-btn-danger { background:#e74c3c!important; color:#fff!important; border-color:#c0392b!important; }

/* ===== TABEL FULL WIDTH ===== */
.ac-card .wp-list-table { table-layout: auto !important; }
.ac-card .wp-list-table th, .ac-card .wp-list-table td { padding: 10px 12px !important; vertical-align: middle !important; }

/* ===== AKSES CEPAT ===== */
.ac-quick-access { display:flex; gap:10px; flex-wrap:wrap; }
.ac-quick-access .button { padding: 8px 18px !important; font-size: 13px !important; }

/* ===== FRONTEND PUBLIC ===== */
.ac-public-wrap { max-width:600px; margin:0 auto; padding:20px; }
.ac-public-form .ac-field { margin-bottom:15px; }
.ac-public-form label { display:block; font-weight:600; margin-bottom:5px; }
.ac-public-form input, .ac-public-form select, .ac-public-form textarea { width:100%; padding:10px; border:1px solid #ddd; border-radius:6px; font-size:14px; }
.ac-btn-submit { background:#c0392b; color:#fff; border:none; padding:12px 30px; border-radius:6px; font-size:16px; cursor:pointer; width:100%; margin-top:10px; }
.ac-btn-submit:hover { background:#a93226; }
.ac-alert { padding:12px 15px; border-radius:6px; margin-bottom:15px; }
.ac-alert.success { background:#d5f5e3; border:1px solid #27ae60; color:#1e8449; }
.ac-alert.error { background:#fadbd8; border:1px solid #e74c3c; color:#c0392b; }
.ac-cert-result { padding:15px; border-radius:8px; margin-top:15px; }
.ac-cert-result.valid { background:#d5f5e3; border:2px solid #27ae60; }
.ac-cert-result.invalid { background:#fadbd8; border:2px solid #e74c3c; color:#c0392b; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .ac-stat-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== LOGO SIDEBAR ===== */
#adminmenu .toplevel_page_ac-dashboard .wp-menu-image {
    background-image: url('https://ananta.devitour.com/wp-content/plugins/ananta-course/assets/img/logo.png') !important;
    background-size: 24px !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}
#adminmenu .toplevel_page_ac-dashboard .wp-menu-image img {
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
}
#adminmenu .toplevel_page_ac-dashboard .wp-menu-image::before {
    content: '' !important;
}

/* ===== FIX LOGO HEADER LEBIH BESAR ===== */
.ac-header-logo {
    width: 120px !important;
    height: 60px !important;
    object-fit: contain !important;
    display: block !important;
}
.ac-header-logo-fallback {
    display: none !important;
}

/* ===== SIDEBAR LOGO LEBIH BESAR ===== */
#adminmenu .toplevel_page_ac-dashboard img.wp-menu-image {
    width: 28px !important;
    height: 28px !important;
    padding-top: 6px !important;
}

/* ===== LOGO HEADER BESAR, TANPA TEKS ===== */
.ac-header-title { display: none !important; }
.ac-header-logo {
    width: 180px !important;
    height: 70px !important;
    object-fit: contain !important;
}
.ac-header-logo-fallback { display: none !important; }
