* {
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    margin: 0;
    background: #f4f6f8;
    color: #0b1c2d;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 60px;
    background: #ffffff;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 22px;
    font-weight: bold;
    color: #0b1c2d;
}

.btn-outline {
    padding: 10px 22px;
    border: 2px solid #e30613;
    border-radius: 30px;
    color: #e30613;
    text-decoration: none;
    font-weight: 600;
}

/* HERO */
.hero {
    background: linear-gradient(
        135deg,
        #0b1c2d 60%,
        #e30613 100%
    );
    color: white;
    padding: 110px 20px;
    text-align: center;
}

.hero h1 {
    font-size: 46px;
    margin-bottom: 12px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

/* SECTION */
.section {
    padding: 70px 60px;
}

.section-title {
    font-size: 32px;
    margin-bottom: 35px;
    color: #0b1c2d;
}

/* JOB GRID */
.jobs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

/* JOB CARD */
.job-card {
    background: #ffffff;
    padding: 28px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
}

.job-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 60px rgba(0,0,0,.12);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header h3 {
    margin: 0;
    font-size: 20px;
}

.badge {
    background: #fdeaea;
    color: #e30613;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.job-location {
    margin: 12px 0;
    color: #555;
}

.job-desc {
    font-size: 14px;
    color: #444;
    margin-bottom: 22px;
}

/* BUTTON */
.btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: #e30613;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: bold;
}

/* FOOTER */
.footer {
    background: #ffffff;
    text-align: center;
    padding: 35px;
    color: #777;
    margin-top: 80px;
}
body{font-family:Arial;background:#f4f6f8;padding:20px}
.title{text-align:center}
.jobs{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:20px}
.card{background:#fff;padding:20px;border-radius:12px}
input,textarea,button{width:100%;padding:10px;margin-bottom:10px}
.btn{background:#00aa13;color:#fff;border:none;padding:10px}

/* ===== SIMPLE LOGIN (MOBILE FIRST) ===== */

.login-page {
    min-height: 100vh;
    background: linear-gradient(135deg, #0b1c2d, #1e3a5f);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 360px;
    background: #ffffff;
    padding: 35px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
    text-align: center;
}

.login-card h1 {
    margin: 0;
    color: #0b1c2d;
    font-size: 26px;
}

.login-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
}

.login-card input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 14px;
}

.login-card input:focus {
    outline: none;
    border-color: #0b1c2d;
}

.login-card .btn-primary {
    width: 100%;
    padding: 12px;
    border-radius: 25px;
    background: #e30613;
    color: #ffffff;
    font-weight: bold;
    border: none;
    cursor: pointer;
}

.login-card small {
    display: block;
    margin-top: 18px;
    font-size: 11px;
    color: #999;
}
/* ===== ADMIN LAYOUT ===== */

.admin-body {
    display: flex;
    background: #f4f6f8;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 230px;
    background: #0b1c2d;
    color: white;
    padding: 30px 20px;
}

.sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 8px;
}

.sidebar a:hover {
    background: rgba(255,255,255,.1);
}

.logout {
    background: #e30613;
}

/* CONTENT */
.content {
    flex: 1;
    padding: 40px;
}

/* STATS */
.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 15px 30px rgba(0,0,0,.08);
}
/* ===== APPLY PAGE ===== */

.apply-page {
    min-height: 100vh;
    background: #f4f6f8;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.apply-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.15);
}

.apply-card h2 {
    margin: 0;
    color: #0b1c2d;
}

.apply-card h3 {
    margin-top: 5px;
    color: #e30613;
    margin-bottom: 20px;
}

.apply-card input,
.apply-card select {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    border-radius: 10px;
    border: 1px solid #ddd;
}

.upload {
    display: block;
    margin-bottom: 20px;
    font-size: 14px;
}
/* ===== DATA PELAMAR MODERN ===== */

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.page-header span {
    background: #e30613;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
}

.pelamar-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.pelamar-item {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 20px;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    gap: 20px;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg,#0b1c2d,#123b6d);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.pelamar-info {
    flex: 1;
}

.pelamar-info h3 {
    margin: 0;
    color: #0b1c2d;
}

.pelamar-info small {
    color: #e30613;
    font-weight: 600;
}

.meta {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    color: #444;
}

.pelamar-action {
    text-align: right;
}

.btn-cv {
    display: inline-block;
    margin-top: 8px;
    padding: 8px 18px;
    background: #0b1c2d;
    color: white;
    border-radius: 20px;
    text-decoration: none;
    font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media(max-width:768px){
    .pelamar-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .pelamar-action {
        width: 100%;
        text-align: left;
    }
}
.sidebar-logo {
    text-align: center;
    margin-bottom: 40px;
}

.sidebar-logo img {
    width: 120px;
    max-width: 100%;
}
/* ===== DASHBOARD ADMIN ===== */

.dashboard-header h1 {
    margin: 0;
    color: #0b1c2d;
}

.dashboard-header p {
    color: #555;
    margin-top: 6px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 20px;
    margin-top: 30px;
}

.dash-card {
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.dash-card h3 {
    margin: 0;
    font-size: 15px;
    color: #777;
}

.dash-card span {
    display: block;
    font-size: 36px;
    font-weight: bold;
    color: #0b1c2d;
    margin-top: 10px;
}

.dashboard-section {
    margin-top: 50px;
    background: white;
    padding: 30px;
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}
.sidebar {
    width: 240px;
    min-height: 100vh;
    background: #0b1c2d;
    padding: 30px 20px;
}

.sidebar a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 14px;
    border-radius: 12px;
    margin-bottom: 10px;
    font-size: 15px;
}

.sidebar a:hover {
    background: rgba(255,255,255,.12);
}

.sidebar .logout {
    background: #e30613;
}

.sidebar-logo img {
    width: 120px;
    margin: 0 auto 40px;
    display: block;
}
/* ===== HERO SEARCH ===== */

.hero {
    background: linear-gradient(135deg,#0b1c2d,#123b6d);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.search-box {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.search-box input {
    padding: 12px 16px;
    border-radius: 10px;
    border: none;
    width: 200px;
}

.search-box button {
    padding: 12px 20px;
    border-radius: 10px;
    background: #e30613;
    color: white;
    border: none;
    cursor: pointer;
}

/* ===== LOWONGAN CARD ===== */

/* ===== HALAMAN DEPAN LOWONGAN ===== */

.lowongan-section {
    padding: 60px 20px;
    background: #f6f8fb;
}

.section-title {
    text-align: center;
    font-size: 26px;
    color: #0b1c2d;
    margin-bottom: 35px;
}

.lowongan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: auto;
}

.job-card {
    background: white;
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .3s;
}

.job-card:hover {
    transform: translateY(-6px);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.job-header h3 {
    font-size: 18px;
    color: #0b1c2d;
}

.badge {
    background: #e30613;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
}

.job-meta {
    font-size: 13px;
    color: #555;
    margin: 10px 0;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.job-desc {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin-bottom: 15px;
}

.job-footer {
    text-align: right;
}

.btn-apply {
    background: linear-gradient(135deg, #0b1c2d, #1e3c72);
    color: white;
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 13px;
    text-decoration: none;
}

/* ===== TOP BAR LOGIN ===== */

.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 30px;
    background: white;
    position: sticky;
    top: 0;
    z-index: 100;
}

.brand img {
    width: 90px;
}

.btn-login {
    padding: 10px 22px;
    background: #0b1c2d;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
}
.form-box {
    background: white;
    padding: 30px;
    border-radius: 18px;
    max-width: 600px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.form-box input,
.form-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
}
.btn-hapus {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 16px;
    background: #e30613;
    color: white;
    border-radius: 14px;
    text-decoration: none;
    font-size: 13px;
}
.table-lowongan {
    width:100%;
    background:white;
    border-radius:12px;
    border-collapse:collapse;
}
.table-lowongan th {
    background:#0b1c2d;
    color:white;
    padding:12px;
}
.table-lowongan td {
    padding:12px;
    border-bottom:1px solid #eee;
}
/* ===== FORM TAMBAH LOWONGAN ===== */

.form-card {
    max-width: 650px;
    background: white;
    margin: 30px auto;
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}

.form-card h2 {
    margin-bottom: 25px;
    color: #0b1c2d;
    text-align: center;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #ddd;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0b1c2d;
}

.btn-primary.full {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #0b1c2d, #1e3c72);
    border: none;
    color: white;
    border-radius: 18px;
    font-size: 15px;
    cursor: pointer;
    margin-top: 10px;
}
.job-info{
    margin-top: 10px;
    font-size: 13px;
    color: #374151;
}

.job-block{
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 8px 10px;
    border-radius: 8px;
    margin-bottom: 6px;
}

.job-block strong{
    color: #111827;
}
.job-block{
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.job-block strong{
    display: block;
    margin-bottom: 4px;
    color: #111827;
}

.job-text{
    max-height: 4.5em; /* ± 3 baris */
    overflow: hidden;
    line-height: 1.5;
    color: #374151;
}

.toggle{
    display: none;
}

.toggle:checked ~ .job-text{
    max-height: 1000px;
}

.toggle-btn{
    display: inline-block;
    margin-top: 6px;
    font-size: 12px;
    color: #2563eb;
    cursor: pointer;
}
.job-info{
    display: grid;
    gap: 10px;
    margin-top: 10px;
  }
  
  .job-block{
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
  }
  
  .job-block-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }
  
  .job-block-title{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #111827;
  }
  
  .toggle{
    display: none;
  }
  
  /* mode ringkas (default) */
  .job-text{
    font-size: 13px;
    line-height: 1.55;
    color: #374151;
  
    display: -webkit-box;
    -webkit-line-clamp: 3;      /* tampil 3 baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  /* kalau dibuka */
  .toggle:checked + .job-text{
    -webkit-line-clamp: unset;
    overflow: visible;
  }
  
  /* tombol */
  .toggle-btn{
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }
  .job-info{
    display: grid;
    gap: 10px;
    margin-top: 12px;
  }
  
  .job-block{
    border: 1px solid #e5e7eb;
    background: #ffffff;
    border-radius: 10px;
    padding: 10px 12px;
  }
  
  .job-block-head{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 6px;
  }
  
  .job-block-title{
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .3px;
    color: #111827;
  }
  
  .toggle{
    display: none;
  }
  
  /* default: ringkas 3 baris */
  .job-text{
    font-size: 13px;
    line-height: 1.6;
    color: #374151;
  
    white-space: pre-line;   /* tetap rapih walau ada enter di data */
    max-height: 4.8em;       /* 3 baris (1.6 * 3) */
    overflow: hidden;
  }
  
  /* kalau dibuka */
  .toggle:checked + .job-text{
    max-height: none;
    overflow: visible;
  }
  
  .toggle-btn{
    font-size: 12px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
  }
/* Desktop: biar card sebelah gak ikut "ngambil tinggi" */
@media (min-width: 992px){
    .lowongan-grid{
      column-count: 4;        /* bisa 3/4 sesuai mau */
      column-gap: 22px;
    }
  
    .job-card{
      display: inline-block;  /* wajib untuk column layout */
      width: 100%;
      margin: 0 0 22px;
      break-inside: avoid;    /* biar card gak kepotong */
    }
  }
  
  /* Tablet: 2 kolom */
  @media (min-width: 600px) and (max-width: 991px){
    .lowongan-grid{
      column-count: 2;
      column-gap: 18px;
    }
  
    .job-card{
      display: inline-block;
      width: 100%;
      margin: 0 0 18px;
      break-inside: avoid;
    }
  }
  
  /* HP: 1 kolom (biarin layout lama kamu juga boleh) */
  @media (max-width: 599px){
    .lowongan-grid{
      column-count: 1;
      column-gap: 0;
    }
  
    .job-card{
      display: block;
      margin-bottom: 16px;
    }
  }
/* default (laptop & tablet) */
.job-header h3{
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
  }
  
  /* HP */
  @media (max-width: 599px){
    .job-header h3{
      font-size: 15px;   /* lebih kecil & pas */
      line-height: 1.35;
    }
  }
  .running-text{
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg,#0f172a,#020617);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
  }
  
  .running-text{
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg,#0f172a,#020617);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
  }
  
  .running-track{
    display: inline-block;
    white-space: nowrap;
    padding: 10px 0;
    animation: runText 14s linear infinite;
  }
  
  .running-track span{
    display: inline-block;
    padding-right: 60px; /* jarak antar loop */
  }
  
  /* animasi DIKONTROL dari sini */
  @keyframes runText{
    from{
      transform: translateX(100%);
    }
    to{
      transform: translateX(-100%);
    }
  }
  
  /* HP: sedikit dipercepat + font lebih kecil */
  @media (max-width: 599px){
    .running-text{
      font-size: 12px;
    }
  
    .running-track{
      animation-duration: 11s;
    }
  }
  .hero h1{
    margin: 0 0 10px;
    line-height: 1.2;
  }
  
  /* HP */
  @media (max-width: 599px){
    .hero h1{
      font-size: 18px;     /* kecilin biar pantes */
      line-height: 1.25;
      letter-spacing: .2px;
    }
  
    .hero p{
      font-size: 13px;
    }
  }
  .hero-title .t-mobile{ display:none; }
  .hero-title .t-desktop{ display:inline; }
  
  @media (max-width: 599px){
    .hero-title .t-desktop{ display:none; }
    .hero-title .t-mobile{
      display:inline;
      font-size: 18px;
      line-height: 1.25;
      letter-spacing: .2px;
    }
  }
  .hero{
    position: relative;
    background: url("assets/img/hero.jpg") center/cover no-repeat;
    color: #fff;
    padding: 70px 20px; /* sesuaikan sama punyamu */
    border-radius: 16px; /* kalau sebelumnya ada */
  }
  
  /* biar teks kebaca: overlay gelap */
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.45); /* gelap tipis */
    border-radius: 16px;
  }
  
  .hero *{
    position: relative;
    z-index: 1;
  }
  .hero{
    position: relative;
    overflow: hidden;
    color: #fff;
  }
  
  .hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit: cover;
    z-index: 0;
  }
  
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.45);
    z-index: 1;
  }
  
  .hero *{
    position: relative;
    z-index: 2;
  }
  .hero{
    position: relative;
    overflow: hidden;
  
    /* gambar jadi background, auto rapi meski ukuran besar */
    background-image: url("assets/img/hero.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  
    color: #fff;
    padding: 70px 20px;
    border-radius: 16px; /* kalau hero kamu kotak, boleh hapus */
  }
  /* ================= HERO FINAL ================= */
.hero{
    position: relative;
    overflow: hidden;
  
    /* BACKGROUND GAMBAR */
    background: url("assets/img/hero.jpg") center/cover no-repeat;
  
    /* TINGGI TERKONTROL */
    min-height: 360px;
    max-height: 420px;
  
    padding: 60px 20px;
    color: #fff;
    border-radius: 16px;
  }
  
  /* overlay gelap biar teks kebaca */
  .hero::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(0,0,0,.45);
    z-index: 0;
  }
  
  .hero *{
    position: relative;
    z-index: 1;
  }
  
  /* DESKTOP */
  @media (min-width: 992px){
    .hero{
      min-height: 420px;
      max-height: 480px;
      padding: 70px 20px;
    }
  }
  
  /* HP */
  @media (max-width: 599px){
    .hero{
      min-height: 300px;
      max-height: 340px;
      padding: 40px 16px;
    }
  }
  
  /* ================= LOWONGAN ================= */
  .lowongan-section{
    margin-top: 40px;
    position: relative;
    z-index: 2;
  }
  /* ===== Dashboard modern (override aman) ===== */
.admin-body{
    background: #f4f6fb;
  }
  
  .admin-body .content{
    padding: 28px 28px 40px;
  }
  
  /* header */
  .admin-body .dash-head{
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 18px;
  }
  
  .admin-body .dash-kicker{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #64748b;
  }
  
  .admin-body .dash-title{
    margin: 6px 0 0;
    font-size: 44px;
    font-weight: 900;
    color: #0f172a;
  }
  
  .admin-body .dash-sub{
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
  }
  
  /* stat cards */
  .admin-body .dash-grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 16px;
    margin-top: 12px;
  }
  
  .admin-body .stat-card{
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
    overflow: hidden;
    position: relative;
  }
  
  .admin-body .stat-card::before{
    content:"";
    position: absolute;
    inset: 0;
    opacity: .08;
  }
  
  .admin-body .stat-red::before{ background: linear-gradient(135deg,#ef4444,#fb7185); }
  .admin-body .stat-blue::before{ background: linear-gradient(135deg,#3b82f6,#22c55e); }
  
  .admin-body .stat-top{
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
  }
  
  .admin-body .stat-icon{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
  }
  
  .admin-body .stat-label{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
  }
  
  .admin-body .stat-value{
    margin-top: 4px;
    font-size: 42px;
    font-weight: 950;
    color: #0f172a;
    line-height: 1;
  }
  
  .admin-body .stat-foot{
    margin-top: 12px;
    font-size: 13px;
    color: #64748b;
    position: relative;
  }
  
  /* panel */
  .admin-body .dash-panel{
    margin-top: 16px;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 18px;
    padding: 16px;
    box-shadow: 0 18px 40px rgba(15,23,42,.06);
  }
  
  .admin-body .panel-head{
    display:flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .admin-body .panel-head h2{
    margin:0;
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
  }
  
  .admin-body .panel-sub{
    color:#64748b;
    font-size: 13px;
  }
  
  .admin-body .panel-grid{
    display:grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 12px;
  }
  
  .admin-body .panel-item{
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    padding: 14px;
  }
  
  .admin-body .pi-title{
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #64748b;
  }
  
  .admin-body .pi-value{
    margin-top: 8px;
    font-size: 18px;
    font-weight: 950;
    color: #0f172a;
  }
  
  .admin-body .pi-note{
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.55;
  }
  
  /* ===== HP ===== */
  @media (max-width: 900px){
    .admin-body .content{ padding: 16px; }
    .admin-body .dash-title{ font-size: 32px; }
  
    .admin-body .dash-grid{ grid-template-columns: 1fr; }
    .admin-body .stat-value{ font-size: 38px; }
  
    .admin-body .panel-grid{ grid-template-columns: 1fr; }
  }
/* ===== SIDEBAR ADMIN ===== */
.sidebar{
    width: 240px;
    background: linear-gradient(180deg,#0f172a,#020617);
    color: #fff;
    padding: 24px 16px;
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    flex-direction: column;
  }
  
  .sidebar-title{
    font-size: 14px;
    font-weight: 900;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 24px;
  }
  
  /* menu */
  .sidebar a{
    display: block;
    padding: 12px 14px;
    border-radius: 12px;
    color: #e5e7eb;
    text-decoration: none;
    font-weight: 700;
    margin-bottom: 6px;
    transition: all .2s ease;
  }
  
  /* hover */
  .sidebar a:hover{
    background: rgba(255,255,255,.08);
  }
  
  /* active menu */
  .sidebar a.active{
    background: rgba(255,255,255,.15);
    color: #fff;
  }
  
  /* footer */
  .sidebar-footer{
    margin-top: auto;
  }
  
  .sidebar-footer a{
    background: rgba(239,68,68,.15);
    color: #fecaca;
  }
  
  .sidebar-footer a:hover{
    background: rgba(239,68,68,.25);
  }
  
  /* konten geser ke kanan */
  .admin-body .content{
    margin-left: 240px;
  }
  
  /* ===== RESPONSIVE HP ===== */
  @media (max-width: 900px){
    .sidebar{
      position: sticky;
      width: 100%;
      height: auto;
      flex-direction: row;
      align-items: center;
      gap: 6px;
      padding: 10px;
    }
  
    .sidebar-title{
      display: none;
    }
  
    .sidebar a{
      margin-bottom: 0;
      padding: 10px 12px;
      font-size: 13px;
    }
  
    .sidebar-footer{
      margin-top: 0;
      margin-left: auto;
    }
  
    .admin-body .content{
      margin-left: 0;
      margin-top: 10px;
    }
  }
    /* ====== Admin Akun ====== */
.content{
  padding: 20px;
}

.card{
  background: #fff;
  padding: 16px;
  border-radius: 12px;
  margin-bottom: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,.06);
}

.alert{
  background: #e8f0fe;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 1px solid rgba(37,99,235,.2);
}

.card input{
  width: 100%;
  padding: 12px;
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.card small{
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 12px;
}

/* Responsive biar aman di HP */
@media (max-width: 600px){
  .content{ padding: 14px; }
}
.btn-edit-small{
  display:inline-block;
  padding:8px 10px;
  border-radius:10px;
  text-decoration:none;
  font-weight:700;
  margin-right:8px;
  background: rgba(37,99,235,.12);
  color:#1e40af;
  border:1px solid rgba(37,99,235,.18);
}
.btn-edit-small:hover{ opacity:.9; }

.form-card{
  background:#fff;
  padding:18px;
  border-radius:16px;
  box-shadow:0 12px 30px rgba(2,6,23,.08);
  max-width:780px;
}
.form-card label{
  display:block;
  margin:12px 0 6px;
  font-weight:700;
}
.form-card input, .form-card textarea{
  width:100%;
  box-sizing:border-box;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid #e5e7eb;
  outline:none;
}
.form-card input:focus, .form-card textarea:focus{
  border-color: rgba(37,99,235,.5);
  box-shadow:0 0 0 5px rgba(37,99,235,.12);
}
