/* ===== GLOBAL ===== */
body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #2d6a4f, #74c69d, #d9ed92, #f8f9fa);
    margin: 0;
    padding: 0;
}

/* ================= LOGIN PAGE ================= */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #2d6a4f 0%, #52b788 40%, #d9ed92 100%);
}

/* login box */
.login-box {
    background: #ffffff;
    padding: 45px 40px;
    width: 440px;
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* logo login */
.logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    display: block;
}

/* judul */
.main-title {
    text-align: center;
    font-size: 22px;
    font-weight: 800;
    color: #163f2f;
    margin: 0 0 4px;
    letter-spacing: 1px;
}

.sub-title {
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #52b788;
    margin: 0 0 22px;
    letter-spacing: 0.5px;
}

.login-title {
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    color: #163f2f;
    margin-bottom: 18px;
}

.error {
    color: #e63946;
    text-align: center;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 500;
}

/* label */
.login-box label {
    font-size: 14px;
    font-weight: 600;
    color: #163f2f;
    display: block;
    margin-bottom: 6px;
}

/* input */
.login-box input {
    width: 100%;
    padding: 13px 16px;
    margin-bottom: 18px;
    border: 1.5px solid #d0ede0;
    border-radius: 12px;
    box-sizing: border-box;
    font-size: 15px;
    background: #eaf6f0;
    color: #163f2f;
    outline: none;
    transition: border-color 0.2s;
}

.login-box input:focus {
    border-color: #52b788;
    background: #f0faf5;
}

/* tombol login */
.login-box button {
    width: 100%;
    padding: 14px;
    background: #1e5c3a;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.login-box button:hover {
    background: #163f2f;
}

/* ================= DASHBOARD ================= */
.dashboard-container {
    width: 85%;
    max-width: 1000px;
    margin: 50px auto;
    background: rgba(255, 255, 255, 0.88);
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    text-align: center;
}

.dashboard-container h1 {
    color: #163f2f;
    margin-bottom: 10px;
}

.dashboard-container p {
    font-size: 16px;
    color: #2d6a4f;
}

/* logo dashboard */
.dashboard-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.dashboard-logo img {
    width: 65px;
    height: 65px;
    object-fit: contain;
    display: block;
}

/* menu dashboard */
.menu {
    margin: 25px 0;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.menu a {
    text-decoration: none;
    padding: 12px 18px;
    background: linear-gradient(90deg, #163f2f, #52b788);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: bold;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.menu a:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(22,63,47,0.35);
}

/* ================= GLOBAL BUTTON HOVER ================= */
button,
input[type="submit"],
a.btn-manual,
a.btn-import,
a.btn-template,
a.btn-reset,
.btn-manual,
.btn-import,
.btn-template,
.btn-reset,
.btn-batal,
.btn-konfirmasi-reset {
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}

button:hover,
input[type="submit"]:hover,
a.btn-manual:hover,
a.btn-import:hover,
a.btn-template:hover,
a.btn-reset:hover,
.btn-manual:hover,
.btn-import:hover,
.btn-template:hover,
.btn-reset:hover,
.btn-batal:hover,
.btn-konfirmasi-reset:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25) !important;
}

/* cards */
.cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.card {
    background: white;
    width: 230px;
    padding: 25px;
    border-radius: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    border-left: 6px solid #52b788;
}

.card h3 {
    margin: 0 0 10px;
    color: #163f2f;
    font-size: 20px;
}

.card p {
    font-size: 28px;
    font-weight: bold;
    color: #2d6a4f;
    margin: 0;
}

