html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Arial, sans-serif;
    background: #f4f7f4;
}

/* ================= HEADER ================= */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: #38482f;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav {
    padding: 22px 26px;
    text-align: right;
    font-size: 14px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline-block;
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: bold;
}

nav ul li a.active,
nav ul li a:hover {
    color: #b0c7b6;
}

/* ================= USER INFO ================= */
.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    margin-left: 10px;
}

.user-details {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #ffffff;
}

.user-details span:first-child {
    font-size: 13px;
    font-weight: bold;
}

.user-details span:last-child {
    font-size: 11px;
    opacity: 0.85;
}

/* ================= FORM ================= */
form {
    max-width: 600px;
    margin: 60px auto;
    background: rgba(255,255,255,0.96);
    padding: 30px 28px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ================= INPUT ================= */
form input {
    padding: 11px 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    font-size: 14px;
    font-family: inherit;
    transition: 0.2s;
}

form input:focus {
    outline: none;
    border-color: #38482f;
    box-shadow: 0 0 0 2px rgba(56,72,47,0.15);
}

/* ================= ACTION BUTTON ================= */
form button {
    margin-top: 12px;
    padding: 12px;
    background: #38482f;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background: #2c3925;
}

/* ================= BATAL LINK ================= */
form a {
    text-align: center;
    margin-top: 4px;
    text-decoration: none;
    font-size: 13px;
    color: #38482f;
    font-weight: 600;
    transition: 0.2s;
}

form a:hover {
    text-decoration: underline;
    color: #2c3925;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {

    header {
        padding: 14px 16px;
    }

    .user-details {
        display: none;
    }

    nav {
        padding: 0;
        text-align: center;
        font-size: 12px;
    }

    nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        justify-content: center;
    }

    nav ul li {
        margin-left: 0;
    }

    nav ul li a {
        padding: 6px;
        font-size: 12px;
    }

    form {
        margin: 30px 16px;
        padding: 22px 18px;
    }
}
