/* File: public/assets/css/login.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f0f2f5; /* Warna background abu-abu muda */
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.login-card {
    background: white;
    width: 100%;
    max-width: 400px;
    padding: 50px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    text-align: center;
}

/* Styling Logo & Header */
.logo-section {
    margin-bottom: 40px;
}

.logo-img {
    width: 80px;
    margin-bottom: 10px;
}

.app-name {
    color: #0056b3; /* Warna Biru */
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.instansi-name {
    color: #333;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Styling Form Input */
.input-group {
    position: relative;
    margin-bottom: 30px;
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
    color: #333;
    border: none;
    border-bottom: 1px solid #d1d1d1;
    outline: none;
    background: transparent;
    transition: border-color 0.3s;
}

.form-control::placeholder {
    color: #aaa;
}

.form-control:focus {
    border-bottom: 2px solid #8a4af3;
}

/* Ikon Mata Password */
.toggle-password {
    position: absolute;
    right: 0;
    top: 10px;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
}

/* Tombol Gradient */
.btn-login {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 50px;
    background: linear-gradient(90deg, #2ac2f3 0%, #8a4af3 100%);
    color: white;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(138, 74, 243, 0.3);
    transition: transform 0.2s;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(138, 74, 243, 0.4);
}

/* Alert Error */
.alert {
    font-size: 12px;
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: left;
}