*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: "Plus Jakarta Sans", sans-serif;
}

.login-bg {
    min-height: 100vh;
    background: linear-gradient(145deg, #0a2d47 0%, #0f4c75 45%, #00b4d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    position: relative;
    overflow: hidden;
}

.login-bg::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    top: -300px;
    right: -200px;
}

.login-bg::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    bottom: -200px;
    left: -150px;
}

.login-card {
    background: #fff;
    border-radius: 24px;
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
    position: relative;
    z-index: 1;
}

.logo-ring {
    width: 58px;
    height: 58px;
    background: linear-gradient(135deg, #0f4c75, #00b4d8);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(15, 76, 117, 0.35);
}

.field {
    position: relative;
    margin-bottom: 14px;
}

.field-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 5px;
}

.field-input {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background: #f8fafc;
    transition: all 0.15s;
    color: #0f172a;
}

.field-input:focus {
    border-color: #0f4c75;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 76, 117, 0.1);
}

.field-input.pr {
    padding-right: 42px;
}

.eye-btn {
    position: absolute;
    right: 12px;
    bottom: 10px;
    background: none;
    border: none;
    cursor: pointer;
    color: #94a3b8;
    padding: 2px;
}

.btn-login {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #0f4c75, #1b6ca8);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
    margin-top: 6px;
}

.btn-login:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(15, 76, 117, 0.4);
}

.btn-login:active {
    transform: none;
}

.btn-login:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    border-radius: 10px;
    padding: 10px 13px;
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

@media (max-width: 480px) {
    .login-card {
        padding: 30px 22px;
    }
}

[x-cloak] {
    display: none !important;
}
