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

body {
    font-family: Arial, sans-serif;
    background: #eef2f7;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    width: 100%;
}

.login-text {
    text-align: center;
}

.login-text h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-text p {
    font-size: 18px;
    color: #666;
    line-height: 1.5;
}

.login-container {
    background: white;
    width: 400px;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(83, 146, 228, 0.25);
    overflow: hidden;
}

.form-body {
    padding: 36px;
    background: white;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.form-body h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #555;
    font-size: 13px;
}

.form-group input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border 0.2s;
}

.form-group input:focus {
    border-color: #4a90d9;
}

.btn-login {
    width: 100%;
    padding: 9px;
    background: #4a90d9;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    letter-spacing: 1px;
    margin-top: 6px;
    transition: background 0.2s;
}

.btn-login:hover {
    background: #357abd;
}

.pesan {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
    min-height: 18px;
}

.daftar-link {
    text-align: center;
    margin-top: auto;
    font-size: 12px;
    color: #888;
    min-height: 30px;
}

.daftar-link a {
    color: #4a90d9;
    text-decoration: none;
    font-weight: bold;
}

.daftar-link a:hover {
    text-decoration: underline;
}

.input-password {
    position: relative;
}

.input-password input {
    width: 100%;
    padding: 8px 36px 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    outline: none;
    transition: border 0.2s;
}

.input-password input:focus {
    border-color: #4a90d9;
}

.input-password i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #aaa;
    font-size: 14px;
    transition: color 0.2s;
}

.input-password i:hover {
    color: #4a90d9;
}

.brand-section {
    text-align: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.logo-wrap {
    width: 100px;
    height: 100px;
    background: #296dc7;
    border-radius: 24px;
    margin: 0 auto 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 6px 15px rgb(83, 146, 228);
}

.logo-img {
    width: 120%;
    height: 120%;
    object-fit: cover;
}

.brand-name {
    font-size: 20px;
    font-weight: 750;
    letter-spacing: 1px;
    color: #296dc7;
    margin-bottom: 10px;
}

.brand-sub {
    font-size: 13px;
    color: #888;
}

.form-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: #f5f5f5;
    transition:
        border 0.2s,
        background 0.2s;
}

.form-group input:focus {
    border-color: #4a90d9;
    background: #fff;
}

.input-password input {
    width: 100%;
    padding: 10px 36px 10px 12px;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-size: 13px;
    outline: none;
    background: #f5f5f5;
    transition:
        border 0.2s,
        background 0.2s;
}

.input-password input:focus {
    border-color: #4a90d9;
    background: #fff;
}

@media (max-width: 480px) {
    .login-text h2 {
        font-size: 22px;
    }

    .login-text p {
        font-size: 14px;
    }

    .login-container {
        width: 85%;
    }

    .form-body {
        padding: 16px 14px;
        min-height: unset;
    }

    .logo-wrap {
        width: 70px;
        height: 70px;
        border-radius: 18px;
    }

    .brand-name {
        font-size: 15px;
    }

    .brand-sub {
        font-size: 11px;
    }
}

.credit-wm {
    text-align: center;
    font-size: 11px;
    color: #aaa;
    margin-top: 16px;
    letter-spacing: 1px;
}
