/* ===== Reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --pink: #d97891;
    --pink-dark: #b85b75;
    --pink-light: #f9dce4;
    --rose: #e9a5b6;
    --cream: #fff9f8;
    --white: #ffffff;
    --text: #57464c;
    --muted: #8e777e;
    --line: rgba(185, 105, 125, 0.18);
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 10% 10%, rgba(244, 190, 205, 0.28), transparent 28%),
        radial-gradient(circle at 90% 80%, rgba(231, 179, 194, 0.22), transparent 30%),
        var(--cream);
    line-height: 1.6;
    min-height: 100vh;
}

/* ===== Link ===== */

a {
    color: inherit;
    text-decoration: none;
}

/* ===== Header ===== */

header {
    width: 100%;
    padding: 18px 7%;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.brand h1 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.3px;

    background: linear-gradient(
        90deg,
        #b95772,
        #d97891,
        #e5a1b3
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand p {
    margin-top: 2px;
    font-size: 12px;
    color: var(--muted);
}

/* ===== Navigation ===== */

nav ul {
    list-style: none;
    display: flex;
    gap: 5px;
}

nav a {
    display: block;
    padding: 8px 13px;
    border-radius: 9px;

    color: var(--text);
    font-size: 14px;
    font-weight: 500;

    transition: 0.2s ease;
}

nav a:hover {
    background: rgba(233, 165, 182, 0.16);
    color: var(--pink-dark);
}

/* ===== Hamburger ===== */

.nav-toggle-label {
    display: none;

    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.7);
    color: var(--pink-dark);

    border-radius: 8px;
    padding: 6px 10px;

    font-size: 18px;
    cursor: pointer;
}

/* ===== Main ===== */

main {
    width: 86%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 55px 0;
}

/*WELCOME*/

.welcome-section {
    background: transparent;
    border: none;
    box-shadow: none;

    text-align: center;

    padding: 35px 20px 55px;
    margin: 0;
}

.welcome-label {
    display: block;

    color: #b96a80;

    font-size: 12px;
    font-weight: 700;

    letter-spacing: 2px;
    text-transform: uppercase;

    margin-bottom: 12px;
}

.welcome-section h2 {
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    margin-bottom: 15px;

    background: linear-gradient(
        90deg,
        #a94f6d,
        #d26f8c,
        #e8a0b3,
        #c45d7b
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.welcome-section p {
    max-width: 620px;
    margin: 0 auto;

    color: var(--muted);
    font-size: 15px;
}

/* ===== Section Title ===== */

.section-title {
    margin-bottom: 18px;
}

.section-title span {
    display: block;

    color: #c26a82;
    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.section-title h2 {
    margin-top: 3px;

    font-size: 22px;
    color: var(--text);
}

/*STATISTIK*/

.summary-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.summary-card {
    position: relative;

    min-height: 145px;

    background: rgba(255, 255, 255, 0.58);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(210, 130, 150, 0.18);
    border-radius: 16px;

    padding: 25px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-align: center;

    box-shadow:
        0 8px 25px rgba(170, 100, 120, 0.07);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.summary-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 12px 30px rgba(170, 100, 120, 0.12);
}

.summary-card h3 {
    color: var(--muted);

    font-size: 13px;
    font-weight: 600;

    margin-bottom: 8px;
}

.summary-card p {
    font-size: 40px;
    line-height: 1;

    font-weight: 700;

    background: linear-gradient(
        135deg,
        #b55472,
        #df839d
    );

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== General Section ===== */

section {
    margin-bottom: 30px;
}

section h2 {
    color: var(--text);
}

/*SEARCH*/

.search-box {
    padding: 17px 20px;
    margin-bottom: 18px;

    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(8px);

    border: 1px solid var(--line);
    border-radius: 13px;
}

.search-box label {
    display: block;

    margin-bottom: 7px;

    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.search-box input {
    width: 100%;
}

/*INPUT & FORM*/

form {
    max-width: 720px;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);

    border: 1px solid var(--line);
    border-radius: 16px;

    padding: 28px;

    box-shadow:
        0 8px 25px rgba(170, 100, 120, 0.06);
}

form p {
    margin-bottom: 18px;
}

label {
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

input,
select {
    width: 100%;

    margin-top: 6px;

    padding: 10px 12px;

    border: 1px solid rgba(190, 125, 140, 0.28);
    border-radius: 9px;

    background: rgba(255, 255, 255, 0.8);

    color: var(--text);
    font-family: inherit;
    font-size: 14px;

    outline: none;

    transition: 0.2s ease;
}

input:focus,
select:focus {
    border-color: var(--rose);

    box-shadow:
        0 0 0 3px rgba(217, 120, 145, 0.10);
}

/* ===== Button ===== */

button {
    border: none;
    border-radius: 8px;

    padding: 9px 15px;

    background: #d97891;
    color: white;

    font-family: inherit;
    cursor: pointer;

    transition: 0.2s ease;
}

button:hover {
    background: #b85b75;
    transform: translateY(-1px);
}

form button[type="submit"] {
    padding: 10px 22px;
    font-weight: 600;
}

/*TABLE*/

.table-responsive {
    overflow-x: auto;

    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(8px);

    border: 1px solid var(--line);
    border-radius: 14px;

    box-shadow:
        0 8px 25px rgba(170, 100, 120, 0.06);
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(224, 143, 164, 0.12);
}

th,
td {
    padding: 13px 15px;

    text-align: left;

    border-bottom: 1px solid rgba(190, 125, 140, 0.12);

    font-size: 14px;
}

th {
    color: #b75c76;
    font-weight: 700;
}

td {
    color: var(--text);
}

tbody tr {
    transition: 0.15s ease;
}

tbody tr:hover {
    background: rgba(250, 220, 228, 0.35);
}

/* ===== Table Buttons ===== */

td button {
    margin-right: 5px;
    padding: 7px 11px;

    font-size: 12px;
}

td button:first-of-type {
    background: #d99aaa;
}

td button:last-of-type {
    background: #c9788d;
}

/*FLASH MESSAGE*/

.flash {
    padding: 11px 14px;

    margin-bottom: 18px;

    border-radius: 9px;

    font-size: 13px;
}

.flash-success {
    background: rgba(232, 247, 237, 0.85);
    color: #477052;
    border: 1px solid #cce7d1;
}

.flash-error {
    background: rgba(253, 235, 236, 0.85);
    color: #9a5050;
    border: 1px solid #edcccc;
}

/* ===== Error ===== */

.error {
    display: block;

    color: #b34f59;

    font-size: 12px;

    margin-top: 4px;
}

/*FOOTER*/

footer {
    margin-top: 35px;
    padding: 25px;

    text-align: center;

    border-top: 1px solid var(--line);

    color: var(--muted);
    font-size: 12px;
}

/*RESPONSIVE*/

@media (max-width: 850px) {

    header {
        padding: 16px 5%;
    }

    nav ul {
        gap: 2px;
    }

    nav a {
        padding: 7px 9px;
        font-size: 13px;
    }

    main {
        width: 90%;
    }
}

@media (max-width: 700px) {

    header {
        flex-wrap: wrap;
    }

    .nav-toggle-label {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
    }

    nav.nav-open {
        display: block;
    }

    nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 3px;
    }

    nav a {
        padding: 10px 12px;
    }

    .summary-list {
        grid-template-columns: 1fr;
    }

    .welcome-section {
        padding: 30px 10px 45px;
    }

    .welcome-section h2 {
        font-size: 32px;
    }

    form {
        padding: 22px;
    }
}