
/* =====================================
   CORTIS ACAI - MAIN THEME
   DARK PURPLE - VIOLET - LAVENDER
===================================== */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
    --acai-dark: #10091c;
    --acai-deep: #190d29;
    --acai-purple: #542477;
    --acai-violet: #8849bd;
    --acai-light: #c9a5e8;
    --acai-text: #f4eaff;
    --acai-muted: #c5b3d8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background:
        radial-gradient(circle at top right, #54247755, transparent 35%),
        linear-gradient(135deg, var(--acai-dark), var(--acai-deep));
    color: var(--acai-text);
    min-height: 100vh;
}

/* HEADER */

header {
    background: linear-gradient(90deg, #10091c, #29133e, #10091c);
    padding: 25px;
    text-align: center;
    border-bottom: 1px solid #8849bd66;
    box-shadow: 0 5px 25px #00000044;
}

header h1 {
    color: var(--acai-text);
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 2px;
}

header p {
    color: var(--acai-muted);
    margin-top: 8px;
}

/* NAVBAR */

nav {
    background: #160d24;
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #8849bd44;
}

nav a {
    color: var(--acai-text);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 600;
    transition: .3s;
}

nav a:hover {
    color: var(--acai-light);
}

/* CONTAINER */

.container {
    width: 90%;
    max-width: 1200px;
    margin: 35px auto;
}

/* CARD */

.card,
.box,
.login-box,
.stat-card,
.dashboard-card,
.feature-card,
.info-card {
    background: linear-gradient(145deg, #29133e, #190d29);
    padding: 25px;
    border-radius: 18px;
    border: 1px solid #8849bd66;
    box-shadow: 0 8px 25px #00000044;
    margin-bottom: 25px;
    color: var(--acai-text);
}

.card h2,
.login-box h2 {
    color: var(--acai-light);
    margin-bottom: 20px;
    text-align: center;
    font-weight: 800;
}

/* LOGIN */

.login-box {
    width: 400px;
    max-width: 92%;
    margin: 65px auto;
    padding: 35px;
    background: #190d29;
    border: 1px solid var(--acai-violet);
    border-radius: 22px;
    box-shadow: 0 0 30px #8849bd33;
}

.login-box form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* FORM */

input,
select,
textarea {
    width: 100%;
    padding: 13px 15px;
    border: 1px solid #8849bd88;
    border-radius: 10px;
    background: #10091c;
    color: var(--acai-text);
    font-family: inherit;
    outline: none;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--acai-light);
    box-shadow: 0 0 10px #8849bd55;
}

input::placeholder,
textarea::placeholder {
    color: #bca4d1;
}

label {
    display: block;
    color: var(--acai-text);
    margin-bottom: 7px;
    font-weight: 600;
}

/* BUTTON */

button,
.btn,
input[type="submit"] {
    background: linear-gradient(135deg, var(--acai-purple), var(--acai-violet));
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

button:hover,
.btn:hover,
input[type="submit"]:hover {
    background: linear-gradient(135deg, var(--acai-violet), var(--acai-purple));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px #8849bd55;
}

/* TABLE */

table {
    width: 100%;
    border-collapse: collapse;
    background: #190d29;
    border-radius: 12px;
    overflow: hidden;
    color: var(--acai-text);
}

th {
    background: #542477;
    color: white;
    padding: 14px;
    text-align: center;
}

td {
    padding: 13px;
    border-bottom: 1px solid #8849bd44;
    text-align: center;
    color: var(--acai-text);
}

tr:hover td {
    background: #54247733;
}

/* LINK */

a {
    color: var(--acai-light);
    text-decoration: none;
    transition: .3s;
}

a:hover {
    color: white;
}

/* DASHBOARD */

.dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.dashboard .card {
    text-align: center;
    border-left: 4px solid var(--acai-violet);
}

.dashboard .card h3 {
    color: var(--acai-light);
    margin-bottom: 10px;
}

.dashboard .card p {
    font-size: 28px;
    font-weight: 800;
    color: white;
}

/* DASHBOARD ADMIN */

.admin-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--acai-text);
}

.action-buttons,
.actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.filter-form input,
.filter-form select {
    flex: 1;
    min-width: 150px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 12px;
}

.btn-struk {
    display: inline-block;
    background: linear-gradient(135deg, #542477, #8849bd);
    color: white;
    padding: 8px 13px;
    border-radius: 8px;
}

.status,
.status-parkir,
.status-keluar {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-parkir {
    background: #542477;
    color: white;
}

.status-keluar {
    background: #342044;
    color: #d9b9f3;
}

.notice {
    padding: 13px 16px;
    margin-bottom: 18px;
    border-radius: 10px;
    background: #29133e;
    border: 1px solid #8849bd66;
    color: var(--acai-text);
}

/* DASHBOARD HERO */

.bm-hero,
.hero,
.dashboard-hero,
.hero-section,
.welcome-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #10091c, #29133e, #542477);
    border: 1px solid #8849bd66;
    border-radius: 22px;
    padding: 35px;
    color: var(--acai-text);
}

.bm-kicker {
    color: var(--acai-light);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.bm-hero h1 {
    color: var(--acai-text);
    font-size: 32px;
    font-weight: 800;
    margin: 12px 0;
}

.bm-hero h1 span {
    color: var(--acai-light);
}

.bm-hero p {
    color: var(--acai-muted);
    line-height: 1.8;
}

.bm-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.bm-primary {
    background: linear-gradient(135deg, #542477, #8849bd);
    color: white;
}

.bm-outline {
    background: transparent;
    color: var(--acai-light);
    border: 1px solid var(--acai-violet);
}

/* DASHBOARD FEATURES */

.bm-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin: 25px 0;
}

.bm-feature {
    background: linear-gradient(145deg, #29133e, #190d29);
    border: 1px solid #8849bd66;
    border-radius: 18px;
    padding: 22px;
    color: var(--acai-text);
    transition: .3s;
}

.bm-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px #8849bd33;
    border-color: var(--acai-violet);
}

.bm-feature .bm-icon {
    font-size: 28px;
    color: var(--acai-light);
    margin-bottom: 12px;
}

.bm-feature h3 {
    color: var(--acai-text);
    margin-bottom: 8px;
}

.bm-feature p {
    color: var(--acai-muted);
    line-height: 1.7;
}

/* SECTION HEADING */

.section-heading {
    margin: 30px 0 18px;
}

.section-heading h2 {
    color: var(--acai-light);
    font-size: 23px;
}

/* FOOTER */

footer {
    text-align: center;
    padding: 20px;
    color: var(--acai-muted);
    border-top: 1px solid #8849bd44;
    margin-top: 40px;
    background: #10091c;
}

/* DECORATION */

.acai-decoration {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.acai-decoration span {
    position: absolute;
    color: var(--acai-light);
    opacity: .3;
    font-size: 35px;
    animation: floatStar 7s ease-in-out infinite alternate;
}

.acai-decoration span:nth-child(1) {
    top: 18%;
    left: 8%;
}

.acai-decoration span:nth-child(2) {
    top: 30%;
    right: 10%;
    animation-delay: 1s;
}

.acai-decoration span:nth-child(3) {
    bottom: 15%;
    left: 18%;
    animation-delay: 2s;
}

.acai-decoration span:nth-child(4) {
    top: 70%;
    right: 25%;
    animation-delay: 3s;
}

.acai-decoration span:nth-child(5) {
    top: 12%;
    right: 35%;
    animation-delay: 4s;
}

@keyframes floatStar {
    from {
        transform: translateY(0) rotate(0);
    }

    to {
        transform: translateY(-20px) rotate(35deg);
    }
}

/* RESPONSIVE */

@media (max-width: 768px) {
    .container,
    .main-content {
        width: 100%;
        padding: 15px;
    }

    .admin-info {
        align-items: flex-start;
        flex-direction: column;
    }

    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .table-wrap {
        overflow-x: auto;
    }

    .bm-hero {
        padding: 23px;
    }

    .bm-hero h1 {
        font-size: 25px;
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 21px;
    }

    nav a {
        display: inline-block;
        margin: 7px;
        font-size: 13px;
    }

    .container {
        width: 95%;
    }

    .login-box {
        width: 95%;
        padding: 22px;
    }

    table {
        font-size: 12px;
    }
}
