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

body {
    font-family: 'Segoe UI', sans-serif;
    background: #0f0c29;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* Container fleksibel */
.login-container {
    background-color: #1c1b29;
    padding: 30px 20px;
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    position: relative;
}

.back-icon {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 10px;
    cursor: pointer;
}

h2 {
    margin-bottom: 25px;
    font-weight: 300;
    text-align: center;
}

.highlight {
    color: #3399ff;
    font-weight: bold;
}

.input-group {
    margin-bottom: 15px;
}

.input-group label {
    display: flex;
    align-items: center;
    background-color: #2d2d3a;
    border-radius: 10px;
    padding: 10px;
}

.input-icon {
    font-size: 18px;
    color: white;
}

.input-field {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    padding-left: 10px;
    outline: none;
    font-size: 14px;
}

.input-error {
    font-size: 12px;
    color: #ff6b6b;
    margin-top: 5px;
}

.remember-me {
    font-size: 12px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-button {
    width: 100%;
    background-color: #3399ff;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 15px;
    font-size: 14px;
}

.forgot,
.signup {
    font-size: 12px;
    text-align: center;
    margin-bottom: 10px;
}

.forgot a,
.signup a {
    color: #3399ff;
    text-decoration: none;
}

button {
    background-color: #3b82f6;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

button:hover {
    background-color: #2563eb;
}

/* Untuk Chrome & Edge */
input:-webkit-autofill,
input:-webkit-autofill:focus,
input:-webkit-autofill:hover,
input:-webkit-autofill:active {
    transition: background-color 50000s ease-in-out 0s;
    -webkit-text-fill-color: #fff;
}

/* Untuk menghilangkan background di Firefox (jika perlu) */
input:autofill,
input:autofill:focus {
    background-color: transparent !important;
    box-shadow: 0 0 0px 1000px transparent inset;
}