* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(
            circle at top right,
            #243447 0%,
            #101820 40%,
            #080b0f 100%
        );
    color: #ffffff;
}

.login-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 15px;
}

.login-card {
    width: 100%;
    max-width: 420px;

    background: rgba(255, 255, 255, 0.97);

    color: #1d1d1d;

    border-radius: 18px;

    padding: 40px;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);

    border: 1px solid rgba(212, 175, 55, 0.35);
}

.login-logo {
    text-align: center;
    margin-bottom: 15px;
}

.logo-circle {
    width: 76px;
    height: 76px;

    margin: auto;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #111820;

    color: #d4af37;

    border: 3px solid #d4af37;

    font-size: 25px;
    font-weight: bold;

    letter-spacing: 1px;
}

.login-title {
    text-align: center;

    font-size: 28px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #111820;
}

.login-subtitle {
    text-align: center;

    margin-top: 7px;
    margin-bottom: 30px;

    color: #777;

    font-size: 13px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;

    margin-bottom: 8px;

    font-size: 14px;

    font-weight: 600;

    color: #333;
}

.form-group input {
    width: 100%;

    height: 48px;

    padding: 0 14px;

    border: 1px solid #d7d7d7;

    border-radius: 9px;

    background: #fafafa;

    color: #222;

    font-size: 14px;

    outline: none;

    transition: all 0.2s ease;
}

.form-group input:focus {
    border-color: #d4af37;

    background: #ffffff;

    box-shadow:
        0 0 0 3px rgba(212, 175, 55, 0.12);
}

.password-box {
    position: relative;
}

.password-box input {
    padding-right: 50px;
}

.toggle-password {
    position: absolute;

    right: 5px;
    top: 5px;

    width: 38px;
    height: 38px;

    border: 0;

    background: transparent;

    cursor: pointer;

    border-radius: 7px;

    font-size: 17px;

    opacity: 0.7;
}

.toggle-password:hover {
    background: #eeeeee;
    opacity: 1;
}

.btn-login {
    width: 100%;

    height: 50px;

    border: none;

    border-radius: 9px;

    background: #111820;

    color: #d4af37;

    font-size: 14px;

    font-weight: bold;

    letter-spacing: 1.5px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.btn-login:hover {
    background: #d4af37;

    color: #111820;

    transform: translateY(-1px);
}

.alert-error {
    margin-bottom: 20px;

    padding: 12px 14px;

    border-radius: 8px;

    background: #fdecec;

    border: 1px solid #f2b8b8;

    color: #a00000;

    font-size: 13px;
}

.login-footer {
    text-align: center;

    margin-top: 25px;

    color: #999;

    font-size: 11px;
}

@media (max-width: 480px) {

    .login-card {
        padding: 30px 22px;
        border-radius: 14px;
    }

    .login-title {
        font-size: 24px;
    }

}