:root {
    --primary-blue: #00a8ff;
    --soft-blue: #e3f2fd;
    --dark-grey: #333;
    --light-grey: #f8f9fa;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.login-container {
    width: 90%;
    max-width: 400px;
    padding: 2rem;
    text-align: center;
}

.logo-area {
    margin-bottom: 2rem;
}

.logo-area h1 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo-area p {
    color: #888;
    font-size: 0.9rem;
}

.input-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.input-group label {
    display: block;
    font-size: 0.85rem;
    color: var(--dark-grey);
    margin-bottom: 0.5rem;
    margin-left: 5px;
}

input[type="text"], 
input[type="password"] {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: var(--light-grey);
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--primary-blue);
    background-color: #fff;
    box-shadow: 0 0 8px rgba(0, 168, 255, 0.2);
}

.btn-login {
    width: 100%;
    padding: 14px;
    background-color: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-login:active {
    transform: scale(0.98);
}

.btn-setting {
    width: 100%;
    padding: 14px;
    background-color: #6c757d;;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 168, 255, 0.3);
}

.btn-setting:active {
    background-color: #5a6268; /* Sedikit lebih gelap saat ditekan */
    transform: scale(0.98);
}

.footer-text {
    margin-top: 2rem;
    font-size: 0.8rem;
    color: #bbb;
}

/* --- MODAL SYSTEM --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none; /* Sembunyi secara default */
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(2px); /* Efek blur di belakang modal */
}

.modal-content {
    background: white;
    width: 90%;
    max-width: 400px;
    border-radius: 15px;
    padding: 20px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.modal-header h3 {
    font-size: 1.1rem;
    color: var(--dark-grey);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
}

.modal-body {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.modal-footer {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

/* Tombol di dalam modal */
.btn-secondary {
    flex: 1;
    padding: 12px;
    background: #eee;
    color: #333;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    padding: 12px;
    background: var(--primary-blue);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
}

/* Animasi muncul */
.modal-overlay.show {
    display: flex;
}

.modal-overlay.show .modal-content {
    transform: translateY(0);
}

.input-minimalis {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    border: 1.5px solid #eee; /* Border tipis abu muda */
    border-radius: 12px; /* Sudut membulat halus */
    background-color: #fcfcfc;
    color: var(--dark-grey);
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.02); /* Shadow dalam halus */
}

/* Efek saat input diklik (Focus) */
.input-minimalis:focus {
    border-color: var(--primary-blue); /* Berubah jadi biru muda */
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.1); /* Efek glow biru transparan */
}

/* Style untuk placeholder */
.input-minimalis::placeholder {
    color: #ccc;
    font-size: 0.9rem;
}

.text-danger{
    color: #e74c3c; /* Merah yang modern dan elegan */
}

.hidden{
    display: none;
}