@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: #2ecc71;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.login-card {
    background: #ffffff;
    padding: 45px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    text-align: center;
}

.header-section {
    margin-bottom: 30px;
}

.badge {
    background-color: #e8f5e9;
    color: #2e7d32;
    display: inline-block;
    padding: 5px 16px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
    line-height: 1;
}

.header-section h1 {
    margin: 0;
    color: #1b5e20;
    font-size: 28px;
    font-weight: 700;
}

.subtitle {
    color: #7f8c8d;
    font-size: 14px;
    margin-top: 5px;
}

.input-group {
    margin-bottom: 22px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
    color: #34495e;
}

input[type="text"] {
    width: 100%;
    padding: 13px;
    border: 2px solid #eee;
    border-radius: 10px;
    box-sizing: border-box;
    font-size: 15px;
    transition: 0.3s;
}

input[type="text"]:focus {
    border-color: #56ab2f;
    outline: none;
    background-color: #f9fff9;
}

.btn-tac {
    width: 100%;
    background: transparent;
    border: 2px solid #2ecc71;
    color: #2ecc71;
    padding: 11px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    transition: 0.3s;
}

.btn-tac:hover {
    background-color: #2ecc71;
    color: white;
}

.btn-masuk {
    width: 100%;
    padding: 16px;
    background: #2ecc71;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.3);
    transition: 0.3s;
}

.btn-masuk:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.4);
}

.error-box {
    background: #ffebee;
    color: #c62828;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
}

.success-box {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 13px;
    text-align: center;
}

.footer {
    p {
        font-size: 11px;
        color: #bdc3c7;
        margin-top: 30px;
    }
}

.back-btn-container {
    text-align: left;
    margin-bottom: 10px;
}

.btn-kembali {
    text-decoration: none;
    color: #7f8c8d;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    transition: 0.3s;
}

.btn-kembali:hover {
    color: #56ab2f;
}
/* STANDARDIZE ALL BUTTONS TO UPPERCASE */
button[type='submit'],
button[type='button'],
input[type='submit'],
.btn-kembali {
    text-transform: uppercase !important;
    letter-spacing: 0.5px;
}
