*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    min-height:100vh;
    background:
        linear-gradient(rgba(239,246,255,0.88), rgba(219,234,254,0.88)),
        url("background.png");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    display:flex;
    flex-direction:column;
}

/* HEADER */

.header{
    width:100%;
    background:linear-gradient(90deg, #0d2f8d, #1d63da);
    color:white;
    text-align:center;
    padding:14px;
    font-size:18px;
    font-weight:bold;
    box-shadow:0 3px 10px rgba(13,47,141,0.22);
}

/* CONTENT */

.main-content{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

/* LOGIN BOX */

.login-box{
    width:500px;
    background:rgba(255,255,255,0.96);
    border-radius:25px;
    padding:32px 35px;
    box-shadow:0 12px 35px rgba(13,47,141,0.20);
    border:1px solid rgba(29,99,218,0.15);
}

/* LOGO */

.logo-container{
    text-align:center;
    margin-bottom:15px;
}

.logo-container img{
    width:70px;
    height:70px;
    object-fit:contain;
}

/* TITLE */

.login-box h1{
    text-align:center;
    font-size:36px;
    margin-bottom:10px;
    color:#0d2f8d;
}

.subtitle{
    text-align:center;
    font-size:18px;
    margin-bottom:35px;
    color:#475569;
}

/* FORM */

form label{
    display:block;
    font-size:16px;
    font-weight:bold;
    margin-bottom:8px;
    color:#1e3a8a;
}

input[type=text],
input[type=password]{
    width:100%;
    height:48px;
    border:1px solid #bfdbfe;
    border-radius:10px;
    padding:10px 14px;
    margin-bottom:25px;
    font-size:16px;
    color:#1e293b;
    background:#f8fbff;
    transition:0.3s;
}

input[type=text]:focus,
input[type=password]:focus{
    outline:none;
    border-color:#1d63da;
    box-shadow:0 0 0 3px rgba(29,99,218,0.15);
    background:white;
}

/* PASSWORD */

.password-container{
    position:relative;
    margin-bottom:20px;
}

.password-container input{
    width:100%;
    padding-right:45px;
    margin-bottom:0;
}

.toggle-password{
    position:absolute;
    right:15px;
    top:50%;
    transform:translateY(-50%);
    cursor:pointer;
    font-size:20px;
    color:#64748b;
    user-select:none;
    transition:0.3s;
}

.toggle-password:hover{
    color:#1d63da;
}

/* FORGOT PASSWORD */

.forgot-password{
    text-align:right;
    margin:10px 0 30px;
}

.forgot-password a{
    color:#1d63da;
    text-decoration:none;
    font-size:15px;
    font-weight:bold;
}

.forgot-password a:hover{
    color:#0d2f8d;
    text-decoration:underline;
}

/* LOGIN BUTTON */

.login-btn{
    display:flex;
    justify-content:center;
}

.login-btn button{
    width:220px;
    height:55px;
    background:linear-gradient(90deg, #0d2f8d, #1d63da);
    color:white;
    border:none;
    border-radius:10px;
    font-size:18px;
    font-weight:bold;
    cursor:pointer;
    transition:0.3s;
    box-shadow:0 6px 15px rgba(29,99,218,0.25);
}

.login-btn button:hover{
    background:linear-gradient(90deg, #08236c, #164db3);
    transform:translateY(-2px);
    box-shadow:0 9px 20px rgba(29,99,218,0.32);
}

/* FOOTER */

.footer{
    width:100%;
    background:linear-gradient(90deg, #0d2f8d, #1d63da);
    color:white;
    text-align:center;
    padding:15px;
    font-size:14px;
    box-shadow:0 -3px 10px rgba(13,47,141,0.15);
}

/* ERROR LOGIN */

.error{
    display:block;
    color:#dc2626;
    background:#fee2e2;
    border-left:4px solid #dc2626;
    padding:10px 12px;
    border-radius:7px;
    font-size:13px;
    margin-top:-15px;
    margin-bottom:15px;
}

/* Sembunyikan pesan error di bawah input */
.error,
.error-username,
.error-password,
small.error,
span.error {
    display: none !important;
}

.signup-box{
    margin-top: 24px;
    text-align: center;
    font-size: 16px;
    color: #64748b;
}

.signup-box p{
    display: inline;
    margin-right: 6px;
}

.signup-box a{
    color: #2563eb;
    font-weight: bold;
    text-decoration: none;
}

.signup-box a:hover{
    color: #163172;
    text-decoration: underline;
}

select{
    width: 100%;
    height: 45px;
    border: 1px solid #bfdbfe;
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 25px;
    font-size: 16px;
    background: #f8fbff;
}