@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    --bg-dark: #081225;
    --bg-mid: #0f1b33;
    --bg-soft: #eaf0fb;
    --surface: rgba(255, 255, 255, 0.9);
    --surface-strong: rgba(255, 255, 255, 0.97);
    --surface-soft: rgba(247, 250, 255, 0.88);
    --border: rgba(148, 163, 184, 0.22);
    --border-strong: rgba(99, 102, 241, 0.3);
    --text: #10213f;
    --muted: #5d6c86;
    --primary: #3559e0;
    --primary-strong: #243fb2;
    --accent: #09a7cf;
    --success: #0f9f6e;
    --warning: #cb7b11;
    --danger: #d33a52;
    --shadow-xs: 0 10px 25px rgba(8, 18, 37, 0.05);
    --shadow-sm: 0 18px 42px rgba(8, 18, 37, 0.08);
    --shadow-md: 0 28px 80px rgba(8, 18, 37, 0.14);
    --radius-xl: 32px;
    --radius-lg: 24px;
    --radius-md: 18px;
    --radius-sm: 14px;
}

@keyframes floatHero {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.08); }
    100% { opacity: 0.5; transform: scale(1); }
}

* {
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif !important;
    color: var(--text) !important;
    background:
        radial-gradient(circle at 0% 0%, rgba(53, 89, 224, 0.2), transparent 30%),
        radial-gradient(circle at 100% 15%, rgba(9, 167, 207, 0.14), transparent 24%),
        linear-gradient(180deg, #f6f9ff 0%, #eef3fb 38%, #e8eef8 100%) !important;
    min-height: 100vh;
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

body::before {
    background:
        linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 76%);
    opacity: 0.45;
}

body::after {
    background:
        radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.75), transparent 18%),
        radial-gradient(circle at 86% 6%, rgba(255, 255, 255, 0.42), transparent 16%);
}

::selection,
::-moz-selection {
    background: rgba(53, 89, 224, 0.16) !important;
    color: var(--text) !important;
}

h1,
h2,
h3,
h4,
p,
label,
th,
span,
td,
div {
    color: inherit;
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1480px !important;
    padding: 30px 24px 40px !important;
}

.header,
.menu-btn,
.modal-content,
.card,
.tab-content.active,
.stat-card,
.requirements-list,
.checkbox-group,
.tabs,
.table-container {
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-sm) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
}

.header {
    position: relative;
    overflow: hidden;
    display: flex !important;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 0 !important;
    padding: 26px 34px 88px !important;
    border-radius: var(--radius-xl) !important;
    background:
        linear-gradient(135deg, rgba(7, 21, 54, 0.99), rgba(15, 49, 113, 0.97) 58%, rgba(40, 93, 185, 0.95)) !important;
    color: #ffffff !important;
}

.header::before,
.header::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.header::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -170px;
    background: radial-gradient(circle, rgba(106, 180, 255, 0.34), rgba(106, 180, 255, 0));
    animation: pulseGlow 10s ease-in-out infinite;
}

.header::after {
    width: 240px;
    height: 240px;
    left: -70px;
    bottom: -110px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.header img,
.header h1,
.header p,
.hero-description {
    position: relative;
    z-index: 1;
}

.header-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 52px;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.header-badge::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: #7dd3fc;
    box-shadow: 0 0 0 6px rgba(125, 211, 252, 0.16);
}

.hero-grid {
    position: relative;
    z-index: 1;
    display: block;
}

.hero-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    text-align: center;
}

.hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.header img {
    width: 94px !important;
    height: 94px !important;
    margin: 0 !important;
    padding: 12px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 24px 40px rgba(4, 12, 24, 0.22);
    animation: floatHero 7s ease-in-out infinite;
}

.header h1 {
    max-width: 860px;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: clamp(2.2rem, 4vw, 3.8rem) !important;
    font-weight: 800 !important;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-align: center;
}

.header p {
    margin: 0 !important;
    color: rgba(226, 236, 255, 0.86) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-align: center;
}

#school-name::before {
    content: "Portal Resmi SPMB";
    display: inline-flex;
    align-items: center;
    margin-right: 12px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.hero-description {
    max-width: 64ch;
    color: rgba(226, 236, 255, 0.86) !important;
    font-size: 0.98rem;
    line-height: 1.8;
    text-align: center;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 22px;
    border-radius: 18px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.hero-action:hover {
    transform: translateY(-2px);
}

.hero-action-primary {
    background: linear-gradient(135deg, #ffffff, #edf4ff);
    color: #193a84;
    box-shadow: 0 18px 28px rgba(8, 18, 37, 0.16);
}

.hero-action-secondary {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-action-ghost {
    background: rgba(12, 26, 60, 0.22);
    color: #e4edff;
    border-color: rgba(153, 181, 255, 0.2);
}

.login-icon {
    position: relative;
    width: 52px;
    min-width: 52px;
    height: 52px;
    min-height: 52px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    box-shadow: 0 18px 32px rgba(4, 12, 24, 0.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
}

.login-icon:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px) !important;
}

#main-menu {
    position: relative;
    z-index: 3;
    display: block;
    max-width: 100%;
    margin: 0 0 28px !important;
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.landing-shell {
    display: grid;
    gap: 22px;
}

.landing-hero {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 26px 34px 34px !important;
    border-radius: var(--radius-xl);
    background:
        linear-gradient(135deg, rgba(7, 21, 54, 0.99), rgba(15, 49, 113, 0.97) 58%, rgba(40, 93, 185, 0.95)) !important;
    border: 1px solid rgba(109, 145, 220, 0.24) !important;
    box-shadow: 0 24px 54px rgba(8, 18, 37, 0.16) !important;
}

.landing-hero::before,
.landing-hero::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.landing-hero::before {
    width: 360px;
    height: 360px;
    right: -120px;
    top: -170px;
    background: radial-gradient(circle, rgba(106, 180, 255, 0.34), rgba(106, 180, 255, 0));
    animation: pulseGlow 10s ease-in-out infinite;
}

.landing-hero::after {
    width: 220px;
    height: 220px;
    left: -60px;
    bottom: -120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.landing-programs {
    padding: 0 6px;
}

.main-menu-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 18px;
    text-align: center;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #e8efff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.main-menu-heading h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: clamp(1.55rem, 2.6vw, 2.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.main-menu-heading p {
    margin: 0;
    max-width: 58ch;
    color: rgba(226, 236, 255, 0.84);
    line-height: 1.75;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #dfe8ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.program-card {
    position: relative;
    overflow: hidden;
    min-height: 208px;
    padding: 18px;
    border-radius: 24px;
    background: #10213f;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 36px rgba(13, 33, 76, 0.14);
}

.program-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(5, 10, 20, 0.04), rgba(5, 10, 20, 0.55)),
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.16), transparent 34%);
}

.program-card > * {
    position: relative;
    z-index: 1;
}

.program-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.program-card h3 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.2;
}

.program-card p {
    margin: 0;
    max-width: 30ch;
    color: rgba(238, 243, 255, 0.88);
    font-size: 0.9rem;
    line-height: 1.65;
}

.theme-multimedia {
    background:
        linear-gradient(135deg, rgba(50, 17, 111, 0.92), rgba(18, 69, 175, 0.9)),
        radial-gradient(circle at top right, rgba(255, 206, 120, 0.22), transparent 32%);
}

.theme-farmasi {
    background:
        linear-gradient(135deg, rgba(4, 85, 93, 0.94), rgba(25, 138, 124, 0.9)),
        radial-gradient(circle at top right, rgba(180, 255, 241, 0.2), transparent 34%);
}

.theme-mesin {
    background:
        linear-gradient(135deg, rgba(69, 76, 95, 0.96), rgba(21, 31, 52, 0.92)),
        radial-gradient(circle at top right, rgba(255, 210, 128, 0.18), transparent 34%);
}

.theme-akl {
    background:
        linear-gradient(135deg, rgba(14, 67, 108, 0.94), rgba(24, 116, 173, 0.9)),
        radial-gradient(circle at top right, rgba(195, 226, 255, 0.18), transparent 34%);
}

.theme-tab {
    background:
        linear-gradient(135deg, rgba(102, 51, 19, 0.94), rgba(181, 111, 34, 0.9)),
        radial-gradient(circle at top right, rgba(255, 228, 181, 0.2), transparent 34%);
}

.theme-atph {
    background:
        linear-gradient(135deg, rgba(24, 79, 32, 0.94), rgba(72, 145, 58, 0.9)),
        radial-gradient(circle at top right, rgba(208, 255, 199, 0.18), transparent 34%);
}

.menu-buttons {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin-bottom: 0 !important;
}

.menu-btn {
    position: relative;
    isolation: isolate;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    min-height: 214px;
    padding: 22px 22px 18px !important;
    border-radius: 22px !important;
    text-align: left !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.96)) !important;
    overflow: hidden;
    border: 1px solid rgba(214, 224, 242, 0.96) !important;
    box-shadow: 0 18px 30px rgba(13, 33, 76, 0.07) !important;
}

.menu-btn::before {
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #1f4699, #3f73d8) !important;
}

.menu-btn::after {
    content: "Akses menu";
    position: absolute;
    left: 22px;
    bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 70, 153, 0.08);
    color: #1f4699;
    font-size: 0.78rem;
    font-weight: 700;
}

.menu-badge {
    display: inline-flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(31, 70, 153, 0.08);
    color: #1f4699;
    font-size: 0.75rem;
    font-weight: 800;
}

.menu-btn:hover {
    transform: translateY(-8px) !important;
    border-color: rgba(63, 115, 216, 0.3) !important;
    box-shadow: 0 26px 42px rgba(19, 48, 108, 0.12) !important;
}

.menu-btn:nth-child(1) .menu-icon {
    background: linear-gradient(135deg, #0f8fb5, #1261d1) !important;
}

.menu-btn:nth-child(2) .menu-icon {
    background: linear-gradient(135deg, #3559e0, #6a45d8) !important;
}

.menu-btn:nth-child(3) .menu-icon {
    background: linear-gradient(135deg, #13a46e, #0f7a87) !important;
}

.menu-icon {
    width: 62px !important;
    height: 62px !important;
    margin: 0 0 16px 0 !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 28px rgba(27, 49, 98, 0.16) !important;
}

.menu-btn h3 {
    margin: 0 0 10px !important;
    color: #16356f !important;
    font-size: 1.18rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

.menu-btn p {
    max-width: 34ch;
    color: #66748e !important;
    font-size: 0.9rem !important;
    line-height: 1.62 !important;
}

.menu-meta {
    margin-top: auto;
    padding-top: 14px;
    padding-bottom: 38px;
}

.menu-meta span {
    display: block;
    color: #7886a0;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 4px;
}

.menu-meta strong {
    color: #16356f;
    font-size: 0.95rem;
    font-weight: 800;
}

#admin-panel,
#pemberkasan-panel,
#daftar-ulang-panel,
#viewer-panel {
    position: relative;
    padding: 6px;
    border-radius: calc(var(--radius-xl) + 4px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.18));
}

.tabs {
    position: sticky;
    top: 14px;
    z-index: 8;
    gap: 10px !important;
    margin-bottom: 20px !important;
    padding: 12px !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.76) !important;
}

.tab {
    border: 1px solid transparent !important;
    border-radius: 16px !important;
    padding: 12px 18px !important;
    color: var(--muted) !important;
    background: transparent !important;
    font-weight: 700 !important;
}

.tab:hover {
    color: var(--primary) !important;
    background: rgba(53, 89, 224, 0.08) !important;
}

.tab.active {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong)) !important;
    box-shadow: 0 14px 28px rgba(53, 89, 224, 0.22) !important;
}

button.tab[style*="margin-left: auto"] {
    background: rgba(211, 58, 82, 0.08) !important;
    color: var(--danger) !important;
}

button.tab[style*="margin-left: auto"]:hover {
    background: rgba(211, 58, 82, 0.12) !important;
}

.tab-content {
    display: none !important;
}

.tab-content.active {
    display: block !important;
    padding: 28px !important;
    border-radius: 30px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(247, 250, 255, 0.86)) !important;
    box-shadow: var(--shadow-md) !important;
}

.modal {
    background: rgba(6, 12, 24, 0.56) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

.modal-content {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.95) !important;
}

.close-btn {
    background: rgba(53, 89, 224, 0.08) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

.close-btn:hover {
    background: rgba(53, 89, 224, 0.14) !important;
    color: var(--primary-strong) !important;
}

.requirements-list,
.card,
.checkbox-group,
.stat-card {
    background: var(--surface) !important;
    border-radius: 24px !important;
}

.card,
.requirements-list,
.checkbox-group {
    padding: 22px 22px 20px !important;
}

.card h3,
.requirements-list h3 {
    color: var(--text) !important;
    font-size: 1.1rem !important;
    margin-bottom: 14px !important;
}

.requirements-list {
    position: relative;
    overflow: hidden;
    border-left: none !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 248, 255, 0.92)) !important;
}

.requirements-list::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: linear-gradient(180deg, var(--primary), var(--accent));
}

.requirements-list li,
.card p,
.checkbox-item label {
    color: var(--muted) !important;
}

.stats-grid {
    gap: 18px !important;
}

.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 150px;
    padding: 24px !important;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.95)) !important;
}

.stat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}

.stat-card::after {
    content: "";
    position: absolute;
    right: -22px;
    bottom: -22px;
    width: 110px;
    height: 110px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(53, 89, 224, 0.12), transparent 70%);
}

.stat-card:hover {
    transform: translateY(-4px) !important;
    border-color: var(--border-strong) !important;
    box-shadow: 0 24px 44px rgba(26, 46, 94, 0.12) !important;
}

.stat-card h3 {
    position: relative;
    z-index: 1;
    margin: 6px 0 8px !important;
    color: var(--text) !important;
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.04em;
}

.stat-card p {
    position: relative;
    z-index: 1;
    color: var(--muted) !important;
    font-weight: 600 !important;
}

.form-group label {
    color: var(--text) !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
}

input,
select,
textarea,
.search-box input,
.swal2-input,
.swal2-textarea,
.swal2-select {
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--text) !important;
    border: 1px solid rgba(148, 163, 184, 0.28) !important;
    border-radius: 16px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.85),
        0 1px 2px rgba(15, 23, 42, 0.02) !important;
}

input:focus,
select:focus,
textarea:focus,
.search-box input:focus,
.swal2-input:focus,
.swal2-textarea:focus,
.swal2-select:focus {
    border-color: rgba(53, 89, 224, 0.55) !important;
    box-shadow:
        0 0 0 4px rgba(53, 89, 224, 0.12) !important,
        0 12px 24px rgba(53, 89, 224, 0.08) !important;
}

input::placeholder,
textarea::placeholder {
    color: #93a0b7 !important;
}

option {
    background: #ffffff !important;
    color: var(--text) !important;
}

.search-box {
    position: relative;
}

.search-box input {
    max-width: 680px !important;
    padding-left: 18px !important;
}

.btn,
.swal2-confirm {
    border: none !important;
    border-radius: 16px !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-strong)) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
    box-shadow: 0 16px 28px rgba(53, 89, 224, 0.18) !important;
}

.btn:hover,
.swal2-confirm:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 20px 32px rgba(53, 89, 224, 0.22) !important;
}

.btn-small {
    width: auto !important;
    padding: 10px 18px !important;
    border-radius: 14px !important;
}

.btn-secondary,
.swal2-cancel {
    background: #e7edf7 !important;
    color: #31425f !important;
    box-shadow: none !important;
}

.btn-secondary:hover,
.swal2-cancel:hover {
    background: #dce5f3 !important;
}

.btn-success {
    background: linear-gradient(135deg, #10946a, #0fb487) !important;
    box-shadow: 0 16px 28px rgba(16, 148, 106, 0.18) !important;
}

.btn-danger {
    background: linear-gradient(135deg, #ca3750, #e14f68) !important;
    box-shadow: 0 16px 28px rgba(202, 55, 80, 0.18) !important;
}

.checkbox-group {
    background: rgba(243, 247, 255, 0.92) !important;
}

.checkbox-item {
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border: 1px solid rgba(220, 228, 242, 0.96) !important;
}

.checkbox-item:hover {
    border-color: rgba(53, 89, 224, 0.18) !important;
    box-shadow: var(--shadow-xs) !important;
}

.checkbox-item input[type="checkbox"] {
    accent-color: var(--primary) !important;
}

.table-container {
    margin-top: 14px !important;
    overflow: auto !important;
    border-radius: 24px !important;
    background: rgba(255, 255, 255, 0.94) !important;
}

table {
    background: transparent !important;
    color: var(--text) !important;
}

thead {
    background: transparent !important;
}

thead th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: #eef3fb !important;
    color: #586784 !important;
    border: none !important;
    border-bottom: 1px solid rgba(203, 213, 225, 0.9) !important;
    font-size: 0.74rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.09em !important;
    text-transform: uppercase !important;
}

td {
    color: var(--text) !important;
    border: none !important;
    border-bottom: 1px solid rgba(229, 234, 244, 0.92) !important;
    font-weight: 500 !important;
}

td *,
th * {
    color: inherit !important;
}

tbody tr {
    background: transparent !important;
}

tbody tr:nth-child(even) {
    background: rgba(248, 250, 253, 0.88) !important;
}

tbody tr:hover {
    background: rgba(53, 89, 224, 0.05) !important;
}

.action-buttons {
    gap: 8px !important;
}

.action-btn {
    border-radius: 12px !important;
    padding: 8px 12px !important;
    font-weight: 700 !important;
    box-shadow: none !important;
}

.action-btn.view {
    background: #dbeafe !important;
    color: #1d4ed8 !important;
}

.action-btn.edit {
    background: #dcfce7 !important;
    color: #15803d !important;
}

.action-btn.delete {
    background: #fee2e2 !important;
    color: #b91c1c !important;
}

.action-btn.verify {
    background: #ffedd5 !important;
    color: #c2410c !important;
}

.action-btn:hover {
    opacity: 1 !important;
    transform: translateY(-1px) !important;
}

.badge {
    border-radius: 999px !important;
    padding: 7px 14px !important;
    font-weight: 800 !important;
}

.badge-success,
span[style*="background: #c6f6d5"],
span[style*="background: rgb(198, 246, 213)"] {
    background: #dcfce7 !important;
    color: #166534 !important;
    border: 1px solid #bbf7d0 !important;
}

.badge-warning,
span[style*="background: #feebc8"],
span[style*="background: rgb(254, 235, 200)"] {
    background: #ffedd5 !important;
    color: #9a3412 !important;
    border: 1px solid #fed7aa !important;
}

.badge-danger {
    background: #fee2e2 !important;
    color: #991b1b !important;
    border: 1px solid #fecaca !important;
}

#guru-page-info,
#laporan-pendaftaran-pagination,
#laporan-pemberkasan-pagination,
#laporan-daftar-ulang-pagination,
#laporan-pemberkasan-petugas-pagination,
#laporan-daftar-ulang-panel-pagination,
#total-pendaftaran-display {
    color: var(--muted) !important;
    font-weight: 600 !important;
}

.swal2-popup {
    background: rgba(255, 255, 255, 0.98) !important;
    color: var(--text) !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    border-radius: 28px !important;
    box-shadow: 0 34px 60px rgba(8, 18, 37, 0.2) !important;
}

.swal2-title,
.swal2-html-container,
.swal2-html-container p,
.swal2-html-container li {
    color: var(--text) !important;
}

.print-section {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(226, 232, 240, 0.9) !important;
    box-shadow: var(--shadow-md) !important;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.65);
}

::-webkit-scrollbar-thumb {
    background: rgba(110, 126, 153, 0.46);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(88, 104, 130, 0.74);
}

@media print {
    body {
        background: #ffffff !important;
        color: #000000 !important;
    }

    body::before,
    body::after {
        display: none !important;
    }

    .header,
    #main-menu,
    .menu-buttons,
    .modal,
    .tabs,
    .search-box {
        display: none !important;
    }

    h1,
    h2,
    h3,
    h4,
    p,
    label,
    td,
    th,
    span,
    div {
        color: #000000 !important;
    }

    .print-section,
    .tab-content,
    .tab-content.active,
    .card,
    .table-container {
        background: #ffffff !important;
        box-shadow: none !important;
        border: none !important;
    }

    table,
    th,
    td {
        border-color: #000000 !important;
        background: transparent !important;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 22px 18px 30px !important;
    }

    .landing-hero {
        padding: 24px 24px 26px !important;
    }

    .tab-content.active {
        padding: 22px !important;
    }

    .program-grid,
    .menu-buttons {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 14px 12px 28px !important;
    }

    .landing-shell {
        gap: 16px;
    }

    .landing-hero {
        border-radius: 28px !important;
        padding: 18px 16px 22px !important;
        gap: 16px;
        text-align: center !important;
    }

    .header-topbar {
        align-items: center;
        flex-direction: row;
    }

    .hero-brand {
        flex-direction: column;
        gap: 16px;
    }

    .header img {
        width: 78px !important;
        height: 78px !important;
        margin: 0 !important;
    }

    .header h1 {
        font-size: 1.78rem !important;
    }

    .header p {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.92rem !important;
    }

    #school-name::before {
        margin-right: 0;
        margin-bottom: 4px;
    }

    .hero-description {
        font-size: 0.92rem;
        line-height: 1.65;
    }

    .hero-actions {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .hero-action {
        width: 100%;
    }

    .login-icon {
        min-width: 48px;
        min-height: 48px;
        width: 48px;
        height: 48px;
        border-radius: 16px !important;
    }

    .main-menu-heading h2 {
        font-size: 1.28rem;
    }

    .program-grid,
    .menu-buttons {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .program-card {
        min-height: 172px;
        border-radius: 20px;
    }

    .menu-btn {
        min-height: 178px;
        padding: 18px 18px 20px !important;
        border-radius: 20px !important;
    }

    .menu-btn::after {
        left: 18px;
        bottom: 18px;
    }

    .menu-icon {
        width: 54px !important;
        height: 54px !important;
        border-radius: 16px !important;
    }

    .tabs {
        top: 8px;
        gap: 8px !important;
        padding: 8px !important;
        border-radius: 20px !important;
    }

    .tab {
        padding: 10px 14px !important;
        font-size: 13px !important;
    }

    .tab-content.active {
        padding: 18px !important;
        border-radius: 24px !important;
    }

    .table-container {
        border-radius: 18px !important;
    }

    thead th,
    td {
        padding: 12px 10px !important;
    }

    .stat-card,
    .card,
    .requirements-list,
    .checkbox-group {
        padding: 18px !important;
    }
}

/* ==========================================================================
   NEW PREMIUM NAVBAR & HERO CARD (Stitch-Inspired)
   ========================================================================== */

/* Navbar Container */
.site-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
}

.navbar-logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.navbar-title {
    font-weight: 800;
    color: var(--text) !important;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Navbar Buttons */
.navbar-btn {
    padding: 10px 18px;
    border-radius: 14px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.btn-secondary-nav {
    background: transparent !important;
    color: var(--muted) !important;
}

.btn-secondary-nav:hover {
    color: var(--primary) !important;
    background: rgba(53, 89, 224, 0.05) !important;
}

.btn-primary-yellow {
    background: #f59e0b !important; /* Yellow accent */
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.25) !important;
}

.btn-primary-yellow:hover {
    background: #d97706 !important;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35) !important;
}

.login-trigger-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 14px;
    background: rgba(53, 89, 224, 0.08) !important;
    border: 1px solid rgba(53, 89, 224, 0.12) !important;
    color: var(--primary) !important;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.login-trigger-btn:hover {
    background: rgba(53, 89, 224, 0.14) !important;
    transform: translateY(-1px);
}

/* Hero Card Container */
.landing-hero-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    padding: 48px 48px 48px !important;
    background: linear-gradient(135deg, #071536 0%, #0f3171 60%, #1a499a 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 28px;
    box-shadow: 0 24px 54px rgba(8, 18, 37, 0.2) !important;
    overflow: hidden;
    align-items: center;
}

.landing-hero-card::before {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    right: -100px;
    top: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25), transparent 70%);
    pointer-events: none;
}

.hero-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
}

.hero-badge-container {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.hero-badge-pill {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-badge-pill.accent {
    background: rgba(245, 158, 11, 0.16);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.24);
}

.hero-card-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem) !important;
    font-weight: 850 !important;
    color: #ffffff !important;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0 !important;
}

.hero-card-subtitle {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #93c5fd !important;
    margin: 0 !important;
}

.hero-card-desc {
    font-size: 0.96rem !important;
    line-height: 1.75 !important;
    color: rgba(226, 236, 255, 0.8) !important;
    max-width: 54ch;
    margin: 0 0 8px !important;
}

.hero-card-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Hero Card Buttons */
.hero-btn-primary {
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    background: #f59e0b !important; /* Yellow */
    color: #ffffff !important;
    border: none;
    box-shadow: 0 12px 24px rgba(245, 158, 11, 0.3) !important;
    transition: all 0.25s ease;
}

.hero-btn-primary:hover {
    background: #d97706 !important;
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(245, 158, 11, 0.4) !important;
}

.hero-btn-secondary {
    padding: 14px 28px;
    border-radius: 16px;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s ease;
}

.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18) !important;
    transform: translateY(-2px);
}

.hero-card-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero-logo-large {
    width: 500px !important;
    height: auto !important;
    max-width: 100% !important;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: floatHero 8s ease-in-out infinite;
}

/* Programs Section & Light UI Overrides */
.main-menu-heading h2 {
    color: var(--text) !important;
}

.main-menu-heading p {
    color: var(--muted) !important;
}

.section-kicker {
    background: rgba(53, 89, 224, 0.08) !important;
    color: var(--primary) !important;
    border: 1px solid rgba(53, 89, 224, 0.14) !important;
}

/* White Program Cards (Google Stitch Style) */
.program-card {
    position: relative;
    overflow: hidden;
    min-height: 200px;
    padding: 24px;
    border-radius: 20px;
    background: #ffffff !important;
    color: var(--text) !important;
    border: 1px solid rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 10px 30px rgba(8, 18, 37, 0.03) !important;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(8, 18, 37, 0.08) !important;
    border-color: var(--primary-strong) !important;
}

.program-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    z-index: 2;
}

.theme-multimedia::before { background: linear-gradient(90deg, #6200ea, #8b5cf6); }
.theme-farmasi::before { background: linear-gradient(90deg, #009688, #14b8a6); }
.theme-mesin::before { background: linear-gradient(90deg, #607d8b, #64748b); }
.theme-akl::before { background: linear-gradient(90deg, #1e88e5, #3b82f6); }
.theme-tab::before { background: linear-gradient(90deg, #a1887f, #8d6e63); }
.theme-atph::before { background: linear-gradient(90deg, #4caf50, #22c55e); }

.program-tag {
    display: inline-flex;
    align-items: center;
    margin-bottom: 14px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.theme-multimedia .program-tag { background: rgba(139, 92, 246, 0.1) !important; color: #8b5cf6 !important; }
.theme-farmasi .program-tag { background: rgba(20, 184, 166, 0.1) !important; color: #14b8a6 !important; }
.theme-mesin .program-tag { background: rgba(100, 116, 139, 0.1) !important; color: #64748b !important; }
.theme-akl .program-tag { background: rgba(59, 130, 246, 0.1) !important; color: #3b82f6 !important; }
.theme-tab .program-tag { background: rgba(141, 110, 99, 0.1) !important; color: #8d6e63 !important; }
.theme-atph .program-tag { background: rgba(34, 197, 94, 0.1) !important; color: #22c55e !important; }

.program-card h3 {
    margin: 0 0 8px;
    color: var(--text) !important;
    font-size: 1.22rem;
    font-weight: 800;
}

.program-card p {
    margin: 0;
    color: var(--muted) !important;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Workflow Step Cards */
.landing-workflow {
    margin-top: 16px;
    padding: 0 6px;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 24px;
    position: relative;
}

.workflow-step-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px;
    background: #ffffff !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(8, 18, 37, 0.03) !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.workflow-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(8, 18, 37, 0.08) !important;
    border-color: #f59e0b !important;
}

.workflow-icon-box {
    position: relative;
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.workflow-step-card:hover .workflow-icon-box {
    background: #f59e0b !important;
    color: #ffffff !important;
    transform: scale(1.05);
}

.step-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #0f3171;
    color: #ffffff;
    font-size: 0.72rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

.workflow-icon {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.workflow-step-card h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text) !important;
    margin: 0 0 10px;
}

.workflow-step-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--muted) !important;
    margin: 0;
}

/* Desktop to Mobile responsive fixes for new sections */
@media (max-width: 1024px) {
    .landing-hero-card {
        grid-template-columns: 1fr;
        padding: 36px !important;
        gap: 24px;
    }
    .hero-card-visual {
        display: none;
    }
    .workflow-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .site-navbar {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
        text-align: center;
    }
    .navbar-actions {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    .navbar-btn, .login-trigger-btn {
        width: 100%;
        justify-content: center;
    }
    .landing-hero-card {
        padding: 24px !important;
        border-radius: 20px;
    }
    .hero-card-title {
        font-size: 1.8rem !important;
    }
    .workflow-steps {
        grid-template-columns: 1fr;
    }
}
