/* ===================================================================
   TABLE OF CONTENTS (Desktop-First)
======================================================================
    0.  DESIGN TOKENS & GLOBAL STYLES
    1.  REUSABLE COMPONENTS (Buttons, etc.)
    2.  LAYOUT COMPONENTS (Navbar, Footer)
    3.  PAGE-SPECIFIC SECTIONS & LAYOUTS
        - Home Page Sections (Hero, About, Services, etc.)
        - Auth & Form Pages
        - Profile Page & Modal
        - Admin Dashboard
    4.  RESPONSIVE MEDIA QUERIES
=================================================================== */


/* ===================================================================
   0. DESIGN TOKENS & GLOBAL STYLES
=================================================================== */
:root {
    /* Color Palette */
    --color-light-blue: #cce2fc;
    --color-blue: #054FA9;
    --color-blue-dark: #043b86;
    --color-white: #ffffff;
    --color-black: #242424;
    --color-grey-light: #e9e9e9;
    --color-grey-medium: #c8c8c8;
    --color-grey-dark: #757575;
    --color-red: #d9534f;
    --color-red-dark: #c9302c;
    --color-green: #28a745;
    --color-background-section: #fafafa;
    --color-background-light: #f9f9f9;
    --color-border-light: #eee;
    --color-button-secondary: #f0f0f0;
    --color-button-secondary-hover: #e0e0e0;

    /* Font Family */
    --font-family-sans: "Poppins", sans-serif;

    /* Font Sizes (Type Scale) */
    --font-size-xs: 0.75rem;
    /* 12px */
    --font-size-sm: 0.875rem;
    /* 14px */
    --font-size-base: 1rem;
    /* 16px */
    --font-size-md: 1.125rem;
    /* 18px */
    --font-size-lg: 1.5rem;
    /* 24px */
    --font-size-xl: 2rem;
    /* 32px */

    /* Font Weights */
    --font-weight-regular: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    /* Spacing Scale */
    --space-1: 0.25rem;
    /* 4px */
    --space-2: 0.5rem;
    /* 8px */
    --space-3: 0.75rem;
    /* 12px */
    --space-4: 1rem;
    /* 16px */
    --space-5: 1.5rem;
    /* 24px */
    --space-6: 2rem;
    /* 32px */
    --space-7: 2.5rem;
    /* 40px */
    --space-8: 4rem;
    /* 64px */

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-pill: 999px;

    /* Other Tokens */
    --box-shadow: 1px 1px 4px rgb(0, 0, 0, 0.3);
    --line-height-heading: 1.25;
    --line-height-body: 1.5;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-sans);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
    color: var(--color-black);
    background-color: var(--color-white);
}

h2 {
    padding-bottom: var(--space-1);
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-heading);
}

h3 {
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
}

section,
.footer {
    display: flex;
    justify-content: center;
    width: 100%;
}

section>div {
    width: 100%;
    max-width: 1088px;
}

.footer>div {
    width: 100%;
    max-width: 1152px;
}

.hidden {
    display: none !important;
}


/* ===================================================================
   1. REUSABLE COMPONENTS
=================================================================== */

/* --- Buttons --- */
.navbar__button--desktop,
.navbar__menu-button-link {
    display: inline-block;
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-xs);
    color: var(--color-white);
    background-color: var(--color-blue);
    border-radius: var(--border-radius-pill);
    box-shadow: var(--box-shadow);
    white-space: nowrap;
    transition: background-color 0.3s ease;
}

.navbar__button--desktop:hover,
.navbar__menu-button-link:hover {
    background-color: var(--color-blue-dark);
    color: var(--color-white);
}

.navbar__button--profile {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-light-blue);
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.navbar__button--profile:hover {
    background-color: #b3d1f8;
}

.navbar__button--profile img {
    width: 24px;
    height: 24px;
}

.cta__button {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    width: max-content;
    padding: var(--space-1) var(--space-4);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-medium);
    background-color: var(--color-white);
    border-radius: var(--border-radius-pill);
    box-shadow: var(--box-shadow);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta__button:hover {
    background-color: var(--color-button-secondary);
    transform: scale(1.03);
}

.cta__button img {
    height: 1.5rem;
}

.auth-button {
    width: 100%;
    margin-top: var(--space-4);
    padding: var(--space-3) var(--space-5);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: white;
    background: var(--color-blue);
    border: none;
    border-radius: var(--border-radius-pill);
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.auth-button:hover {
    background-color: var(--color-blue-dark);
}

.auth-button--secondary {
    width: 100%;
    font-weight: var(--font-weight-medium);
    color: var(--color-black);
    background-color: var(--color-button-secondary);
}

.auth-button--secondary:hover {
    background-color: var(--color-button-secondary-hover);
}

.auth-button--danger {
    margin-top: var(--space-2);
    background-color: var(--color-red);
}

.auth-button--danger:hover {
    background-color: var(--color-red-dark);
}

.auth-button-link {
    display: inline-block;
    padding: 0;
    margin-top: calc(-1 * var(--space-2));
    font-weight: var(--font-weight-medium);
    color: var(--color-blue);
    background: none;
    border: none;
    box-shadow: none;
    text-decoration: underline;
    cursor: pointer;
}

.auth-button-link--danger {
    color: var(--color-red);
}

.ticket-cancel-btn {
    width: 100%;
    padding: var(--space-2) var(--space-4);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    background-color: var(--color-red);
    border: 1px solid var(--color-red-dark);
    border-radius: var(--border-radius-md);
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.ticket-cancel-btn:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-1px);
}

.admin-table__btn {
    padding: var(--space-2) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-medium);
    color: white;
    background-color: var(--color-green);
    border-radius: var(--border-radius-md);
    cursor: pointer;
    transition: background-color 0.2s;
}

.admin-table__btn:hover {
    background-color: #218838;
}

/* ===================================================================
   2. LAYOUT COMPONENTS
=================================================================== */

/* --- Navbar --- */
.navbar {
    position: fixed;
    z-index: 10;
    display: flex;
    justify-content: center;
    width: 100%;
    background-color: var(--color-white);
    box-shadow: var(--box-shadow);
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1152px;
    padding: var(--space-4);
}

.navbar__brand img {
    height: 2.25rem;
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.navbar__menu-link {
    position: relative;
    padding-bottom: var(--space-1);
    color: var(--color-black);
    transition: color 0.3s ease;
}

.navbar__menu-link:hover {
    color: var(--color-blue);
}

.navbar__menu-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-blue);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar__menu-link:hover::after,
.navbar__menu-link.active::after {
    transform: scaleX(1);
}

.navbar__auth-buttons {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

/* --- Navbar Mobile (Burger) --- */
.navbar__burger-checkbox {
    display: none;
}

.navbar__menu-button--mobile {
    display: none;
}

.navbar__burger-label {
    display: none;
    position: relative;
    width: 2rem;
    height: 2rem;
    cursor: pointer;
}

.navbar__burger-label span {
    display: block;
    position: absolute;
    left: 17%;
    height: 2px;
    width: 66%;
    background: var(--color-white);
    border-radius: 0.5em;
    opacity: 1;
    transform: rotate(0deg);
    transition: .25s;
}

.navbar__burger-label span:nth-of-type(1) {
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-blue);
    box-shadow: var(--box-shadow);
}

.navbar__burger-label span:nth-of-type(2) {
    top: 25%;
    transform-origin: center;
}

.navbar__burger-label span:nth-of-type(3) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: center;
}

.navbar__burger-label span:nth-of-type(4) {
    top: 75%;
    transform: translateY(-100%);
    transform-origin: center;
}

.navbar__burger-checkbox:checked+.navbar__burger-label span:nth-of-type(1) {
    border-radius: var(--border-radius-pill);
}

.navbar__burger-checkbox:checked+.navbar__burger-label span:nth-of-type(2) {
    top: 50%;
    transform: rotate(45deg);
}

.navbar__burger-checkbox:checked+.navbar__burger-label span:nth-of-type(3) {
    width: 0%;
    opacity: 0;
}

.navbar__burger-checkbox:checked+.navbar__burger-label span:nth-of-type(4) {
    top: 50%;
    transform: rotate(-45deg);
}

/* --- Footer --- */
.footer {
    background-color: var(--color-black);
    box-shadow: var(--box-shadow);
}

.footer p,
.footer a {
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
}

.footer__container {
    display: grid;
    gap: var(--space-8);
    padding: var(--space-8) var(--space-6) var(--space-6) var(--space-6);
}

.footer__main-content {
    display: flex;
    justify-content: center;
    gap: var(--space-6);
}

.footer__about,
.footer__contact,
.footer__quick-links {
    display: grid;
    align-items: start;
    align-content: start;
    gap: var(--space-4);
}

.footer__about {
    flex: 3;
}

.footer__logo {
    height: 2.5rem;
}

.footer__contact {
    flex: 2;
}

.footer__contact ul {
    display: grid;
    gap: var(--space-2);
}

.footer__contact li {
    display: flex;
    align-items: start;
    gap: var(--space-2);
}

.footer__contact li a:hover {
    color: var(--color-light-blue);
}

.footer__contact li img {
    width: 1.5rem;
    height: auto;
    object-fit: contain;
}

.footer__quick-links {
    flex: 1;
}

.footer__quick-links ul {
    display: grid;
    padding-left: var(--space-5);
    list-style-type: disc;
}

.footer__quick-links li::marker {
    color: var(--color-white);
}

.footer__quick-links li a:hover {
    color: var(--color-light-blue);
}

.footer__copyright {
    font-size: var(--font-size-sm);
    color: var(--color-grey-medium);
    text-align: center;
}

/* ===================================================================
   3. PAGE-SPECIFIC SECTIONS & LAYOUTS
=================================================================== */

/* --- Home Page: Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 80vh;
    padding-top: 74px;
    background-color: var(--color-light-blue);
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url(../asset/jokowi.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero h1 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
    line-height: 47px;
    color: var(--color-white);
    text-align: center;
}

.hero h1 span {
    font-size: 45px;
    font-weight: var(--font-weight-medium);
}

.hero h1 span b {
    font-weight: var(--font-weight-semibold);
}

.hero p {
    font-size: var(--font-size-lg);
    color: var(--color-white);
}

/* --- Home Page: Other Sections --- */
.brand-showcase {
    position: relative;
    background-color: var(--color-light-blue);
    box-shadow: var(--box-shadow);
}

.brand-showcase__container {
    display: grid;
    justify-items: center;
}

.brand-showcase__logo a {
    display: block;
    box-sizing: content-box;
    height: 2.5rem;
    padding: var(--space-2) var(--space-7);
    background-color: var(--color-blue);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.brand-showcase__logo img {
    height: 100%;
}

.brand-showcase__tagline {
    padding: var(--space-4);
    font-weight: var(--font-weight-medium);
    text-align: center;
}

.about-us,
.services,
.cta,
.faq {
    padding: var(--space-8);
}

.about-us {
    background-color: var(--color-white);
    scroll-margin-top: 68px;
}

.about-us__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-4) var(--space-6);
}

.about-us__text {
    flex: 3;
    min-width: 288px;
}

.about-us__image {
    flex: 2;
    min-width: 288px;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.services {
    background-color: var(--color-light-blue);
}

.services__container {
    display: grid;
    justify-content: left;
}

.services__list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    padding-top: var(--space-4);
}

.services__item {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-width: 212px;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.services__item:hover {
    transform: translateY(-5px);
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.2);
}

.services__item-header {
    display: flex;
    align-items: center;
    padding: var(--space-4);
    background-color: var(--color-blue);
}

.services__item-icon {
    position: relative;
    display: flex;
    align-items: center;
    padding: var(--space-2);
    background-color: var(--color-white);
    border-radius: var(--border-radius-md);
}

.services__item-icon img {
    min-width: 2rem;
    height: 2rem;
    object-fit: contain;
}

.services__item-title {
    padding: 0 var(--space-2);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

.services__item-description {
    padding: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-grey-dark);
}

.cta {
    background-color: var(--color-white);
}

.cta__container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4) var(--space-6);
}

.cta__card {
    flex: 1;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--space-4);
    min-width: 350px;
    padding: var(--space-6);
    background-color: var(--color-blue);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.cta__card p {
    color: var(--color-white);
}

.partners {
    background-color: var(--color-light-blue);
}

.partners__container {
    display: grid;
    justify-content: center;
    justify-items: center;
}

.partners__title {
    padding: var(--space-2) var(--space-7);
    font-weight: var(--font-weight-medium);
    color: var(--color-white);
    background-color: var(--color-blue);
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.partners__logos {
    display: flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-4);
}

.partners__logos img {
    width: 5rem;
}

.faq {
    background-color: var(--color-white);
    scroll-margin-top: 68px;
}

.faq__container {
    display: grid;
    justify-items: center;
}

.faq__list {
    display: grid;
    gap: var(--space-4);
    width: 100%;
    padding-top: var(--space-4);
}

.faq__item {
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: 0.3s ease;
}

.faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    width: 100%;
    padding: var(--space-3) var(--space-6);
    background-color: var(--color-blue);
    box-shadow: var(--box-shadow);
    transition: background-color 0.3s;
}

.faq__question:hover {
    background-color: var(--color-blue-dark);
}

.faq__question p {
    color: var(--color-white);
    text-align: left;
}

.faq__icon {
    height: min-content;
    font-size: var(--font-size-lg);
    font-style: normal;
    color: var(--color-white);
    transform: rotate(0deg);
    transition: transform 0.3s ease;
}

.faq__item.faq__item--active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    padding: 0 var(--space-6);
    background-color: var(--color-background-light);
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq__answer p {
    padding: var(--space-4) 0;
}

/* --- Auth & Form Pages --- */
.page-background--form {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 100px var(--space-4) var(--space-6);
    box-sizing: border-box;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../asset/istockphoto-1312706413-612x612.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.auth-container {
    width: 100%;
    max-width: 480px;
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.auth-container a {
    color: var(--color-blue);
    text-decoration: none;
}

.auth-container a:hover {
    text-decoration: underline;
}

.form-header {
    padding: var(--space-4);
    color: var(--color-white);
    background-color: var(--color-blue);
    text-align: center;
}

.form-header h2 {
    padding-bottom: 0;
    font-size: var(--font-size-md);
}

.auth-tabs {
    display: flex;
    background-color: var(--color-grey-light);
}

.auth-tab {
    flex: 1;
    padding: var(--space-4);
    color: var(--color-grey-dark);
    background-color: var(--color-grey-light);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab--active {
    color: var(--color-white);
    background: var(--color-blue);
}

.auth-form-container {
    padding: var(--space-7);
    background-color: var(--color-white);
}

.auth-form .form-group {
    display: grid;
    gap: var(--space-2);
    margin-bottom: var(--space-4);
}

.form-group-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.checkbox-group input {
    width: auto;
    height: auto;
}

.auth-form input[type="text"],
.auth-form input[type="password"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form input[type="date"],
.auth-form select {
    box-sizing: border-box;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-sm);
    background-color: #fff;
    border: 1px solid var(--color-grey-medium);
    border-radius: var(--border-radius-pill);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.auth-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: var(--space-7);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.auth-form input:focus,
.auth-form select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 5px rgba(5, 79, 169, 0.3);
}

.form-divider {
    margin: var(--space-5) 0;
    border: none;
    border-top: 1px solid var(--color-border-light);
}

.password-wrapper {
    position: relative;
    width: 100%;
}

.auth-form input[type="password"] {
    padding-right: 3.5rem;
}

.toggle-password {
    position: absolute;
    top: 50%;
    right: 1rem;
    width: 20px;
    height: 20px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z'%3e%3c/path%3e%3ccircle cx='12' cy='12' r='3'%3e%3c/circle%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateY(-50%);
    opacity: 0.7;
    transition: opacity 0.3s;
    cursor: pointer;
}

.toggle-password:hover {
    opacity: 1;
}

.toggle-password.visible::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    display: block;
    width: 100%;
    height: 2px;
    background-color: #555555;
    border-radius: 1px;
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* --- Profile Page & Modal --- */
.profile-main-container {
    width: 100%;
    max-width: 480px;
}

.profile-info-display {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.profile-info-content {
    padding: var(--space-7);
}

.info-item {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-5);
}

.info-label {
    margin-bottom: var(--space-1);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-grey-dark);
}

.info-value {
    padding: var(--space-2) 0;
    font-size: var(--font-size-base);
    color: var(--color-black);
    border-bottom: 1px solid var(--color-border-light);
}

.ticket-section-wrapper {
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.ticket-section-wrapper .ticket-section-title {
    padding-top: var(--space-5);
    border-top: none;
}

.ticket-section {
    padding: 0 var(--space-7) var(--space-7) var(--space-7);
}

.ticket-section-title {
    margin-bottom: var(--space-4);
    padding-top: var(--space-5);
    font-weight: var(--font-weight-semibold);
    color: var(--color-blue);
    text-align: center;
    border-top: 1px solid var(--color-border-light);
}

.ticket-container {
    padding: 0 var(--space-4) var(--space-4) var(--space-4);
    display: grid;
    gap: var(--space-4);
}

.ticket-card {
    background-color: var(--color-background-light);
    border: 1px solid var(--color-grey-medium);
    border-radius: var(--border-radius-md);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.ticket-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-2) var(--space-4);
    background-color: var(--color-light-blue);
    border-bottom: 1px solid var(--color-grey-medium);
}

.ticket-queue-number {
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-bold);
    color: var(--color-blue);
}

.ticket-status {
    padding: var(--space-1) var(--space-3);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
    border-radius: var(--border-radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status--menunggu {
    background-color: var(--color-blue);
}

.status--selesai {
    background-color: var(--color-green);
}

.status--batal {
    background-color: var(--color-grey-dark);
}

.status--kadaluarsa {
    background-color: var(--color-red);
}

.ticket-body {
    display: grid;
    gap: var(--space-2);
    padding: var(--space-4);
}

.ticket-body .ticket-schedule {
    margin-bottom: var(--space-2);
    padding-bottom: var(--space-3);
    font-weight: var(--font-weight-medium);
    line-height: 1.4;
    border-bottom: 1px solid var(--color-border-light);
}

.ticket-body p {
    font-size: var(--font-size-sm);
}

.ticket-footer {
    padding: var(--space-2) var(--space-4) var(--space-4);
    background-color: var(--color-background-light);
    border-top: 1px solid var(--color-border-light);
}

.no-tickets {
    padding: var(--space-4);
    color: var(--color-grey-dark);
    background-color: var(--color-grey-light);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.admin-profile-info {
    align-self: stretch;
    padding-left: var(--space-5);
    border-left: 1px solid var(--color-border-light);
}

.admin-summary-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.admin-summary-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4);
    background-color: var(--color-background-section);
    border: 1px solid var(--color-border-light);
    border-radius: var(--border-radius-md);
    text-align: center;
}

.summary-value {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    color: var(--color-blue);
}

.summary-label {
    font-size: var(--font-size-sm);
    color: var(--color-grey-dark);
}

.auth-button.auth-button--dashboard-link {
    display: block;
    margin-top: var(--space-4);
    color: var(--color-white);
    background-color: var(--color-green);
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.auth-button.auth-button--dashboard-link:hover {
    color: var(--color-white);
    background-color: #218838;
}

.form-section-title {
    margin-bottom: var(--space-1);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-black);
}

.form-section-subtitle {
    margin-bottom: var(--space-4);
    font-size: var(--font-size-sm);
    color: var(--color-grey-dark);
}

.modal-overlay {
    display: none;
    /* Awalnya tersembunyi */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.6);
    overflow: auto;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 500px;
    margin: auto;
    background-color: #fefefe;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    overflow: hidden;
}

@keyframes animatetop {
    from {
        top: -300px;
        opacity: 0
    }

    to {
        top: 0;
        opacity: 1
    }
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    color: var(--color-grey-dark);
    transition: color 0.2s;
}

.modal-close:hover,
.modal-close:focus {
    color: var(--color-black);
    text-decoration: none;
    cursor: pointer;
}

/* --- Dashboard Page --- */
.dashboard-page {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
        url(../asset/istockphoto-1312706413-612x612.jpg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px var(--space-5) var(--space-8);
}

.dashboard-header {
    margin-bottom: var(--space-6);
    text-align: center;
}

.dashboard-header h1 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-semibold);
    color: var(--color-white);
}

.dashboard-header p {
    font-size: var(--font-size-md);
    color: var(--color-white);
}

.dashboard-controls {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    padding: var(--space-5);
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
}

.control-group {
    display: flex;
    flex-direction: column;
}

.control-group label {
    margin-bottom: var(--space-2);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-grey-dark);
}

.control-group input[type="search"],
.control-group select {
    box-sizing: border-box;
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-family: var(--font-family-sans);
    font-size: var(--font-size-sm);
    background-color: #fff;
    border: 1px solid var(--color-grey-medium);
    border-radius: var(--border-radius-pill);
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.control-group input[type="search"]:focus,
.control-group select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 5px rgba(5, 79, 169, 0.3);
}

.control-group select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: var(--space-7);
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23757575' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1rem;
}

.table-responsive-container {
    width: 100%;
    background-color: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: var(--space-4);
    text-align: left;
    border-bottom: 1px solid var(--color-border-light);
}

.admin-table thead {
    color: var(--color-white);
    background-color: var(--color-blue);
}

.admin-table th {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-semibold);
}

.admin-table tbody tr:hover {
    background-color: var(--color-background-light);
}

.admin-table td {
    font-size: var(--font-size-sm);
    color: var(--color-grey-dark);
}

.admin-table td strong {
    color: var(--color-black);
}

/* ===================================================================
   4. RESPONSIVE MEDIA QUERIES
=================================================================== */

@media (max-width: 1024px) {

    /* --- Services --- */
    .services__item {
        min-width: 300px;
    }
}

@media (max-width: 991px) {

    /* --- Profile Page --- */
    .profile-main-container {
        max-width: 480px;
    }

    .profile-layout-desktop {
        padding: 0;
    }

    .admin-profile-info {
        margin-top: var(--space-6);
        padding-top: var(--space-5);
        padding-left: 0;
        border-left: none;
        border-top: 1px solid var(--color-border-light);
    }
}

@media (max-width: 768px) {

    /* --- General Section Padding --- */
    .about-us,
    .services,
    .cta,
    .faq {
        padding: var(--space-6);
    }

    /* --- Navbar --- */
    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        display: grid;
        justify-content: center;
        justify-items: center;
        gap: var(--space-2);
        width: 100%;
        max-height: 0;
        padding: 0;
        background: var(--color-white);
        box-shadow: 1px 2px 2px rgba(0, 0, 0, 0.3);
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
    }

    .navbar__menu-button--mobile {
        display: flex;
    }

    .navbar__button--desktop,
    #nav-guest-desktop,
    #nav-auth-desktop {
        display: none;
    }

    .navbar__burger-label {
        display: flex;
    }

    .navbar__burger-checkbox:checked~.navbar__menu {
        max-height: 500px;
        padding: var(--space-4) 0;
        opacity: 1;
    }

    /* --- Footer --- */
    .footer__container {
        gap: var(--space-6);
        padding: var(--space-6);
    }

    .footer__main-content {
        display: grid;
    }

    /* --- Partners --- */
    .partners__logos {
        gap: var(--space-8);
    }

    .partners__logos img {
        width: 4rem;
    }

    /* --- Admin Dashboard Table --- */
    .admin-table thead {
        display: none;
    }

    .admin-table,
    .admin-table tbody,
    .admin-table tr,
    .admin-table td {
        display: block;
        width: 100%;
    }

    .admin-table tr {
        margin-bottom: var(--space-4);
        border: 1px solid var(--color-border-light);
        border-radius: var(--border-radius-md);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    }

    .admin-table td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: var(--space-3) var(--space-4);
        text-align: right;
        border-bottom: 1px solid var(--color-border-light);
    }

    .admin-table td::before {
        content: attr(data-label);
        padding-right: var(--space-4);
        font-weight: var(--font-weight-semibold);
        color: var(--color-black);
        text-align: left;
    }

    .admin-table td:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 425px) {

    /* --- General Section Padding --- */
    .about-us,
    .services,
    .cta,
    .faq {
        padding: var(--space-6) var(--space-4);
    }

    /* --- Services --- */
    .services__item {
        min-width: 288px;
    }

    /* --- CTA --- */
    .cta__card {
        gap: var(--space-2);
        min-width: 288px;
        padding: var(--space-4);
        box-sizing: border-box;
    }

    .cta__button {
        font-size: var(--font-size-md);
    }

    /* --- Partners --- */
    .partners__logos {
        gap: var(--space-6);
    }

    .partners__logos img {
        width: 3rem;
    }

    /* --- FAQ --- */
    .faq__question {
        gap: var(--space-2);
        padding: var(--space-3) var(--space-4);
    }

    .faq__answer {
        padding: 0 var(--space-4);
    }

    /* --- Auth Forms & Tickets --- */
    .auth-form-container,
    .ticket-section {
        padding: var(--space-6) var(--space-5);
    }

    .auth-tab {
        padding: var(--space-4);
    }
}


@media (min-width: 992px) {

    /* --- Profile Page --- */
    .profile-main-container {
        max-width: 960px;
    }

    .profile-layout-desktop {
        display: flex;
        align-items: flex-start;
        gap: var(--space-5);
    }

    .profile-info-display,
    .ticket-section-wrapper {
        flex: 1;
    }

    .profile-info-display {
        max-width: 400px;
    }

    .ticket-section-wrapper .ticket-section {
        padding: 0;
    }
}


.dashboard-controls{display:none;}