* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Background gelap estetik dengan nuansa gambar */
    background: linear-gradient(rgba(15, 23, 20, 0.85), rgba(10, 15, 13, 0.95)), 
                url('../images/hero-bg.jpg') no-repeat center center/cover;
    color: #ffffff;
    padding: 20px;
}

.login-card {
    background: rgba(22, 32, 28, 0.85);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.logo-container {
    margin-bottom: 20px;
}

.logo-container h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
}

.logo-container h2 span {
    color: #2ecc71;
}

.logo-container p {
    font-size: 13px;
    color: #a0aec0;
    margin-top: 5px;
}

.alert-error {
    background-color: rgba(231, 76, 60, 0.2);
    border: 1px solid #e74c3c;
    color: #ff6b6b;
    padding: 10px 15px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 20px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 13px;
    margin-bottom: 8px;
    color: #cbd5e0;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper > i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #2ecc71;
    font-size: 16px;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 12px 45px 12px 45px; /* Padding kanan ditambah agar teks tidak menabrak ikon mata */
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
    background: rgba(255, 255, 255, 0.12);
}

.input-wrapper input::placeholder {
    color: #718096;
}

/* Styling untuk Tombol Toggle Ikon Mata */
.toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #a0aec0;
    cursor: pointer;
    font-size: 16px;
    z-index: 2;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.toggle-password:hover {
    color: #2ecc71;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    margin-bottom: 25px;
    color: #a0aec0;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.remember-me input {
    accent-color: #2ecc71;
    cursor: pointer;
}

.forgot-pass {
    color: #2ecc71;
    text-decoration: none;
    transition: 0.2s;
}

.forgot-pass:hover {
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #2ecc71;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

.btn-submit:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.6);
}

.login-footer {
    margin-top: 25px;
    font-size: 13px;
    color: #a0aec0;
}

.login-footer a {
    color: #2ecc71;
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

.back-home {
    display: inline-block;
    margin-top: 15px;
    font-size: 12px;
    color: #718096;
    text-decoration: none;
    transition: 0.2s;
}

.back-home:hover {
    color: #ffffff;
}