* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    font-family: "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 165, 0, 0.28),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #0b2f44,
            #19455e 55%,
            #0f2635
        );
}

.login-card {
    width: 100%;
    max-width: 430px;
    padding: 38px 36px 34px;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.30),
        0 5px 20px rgba(0, 0, 0, 0.10);
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container img {
    width: 170px;
    height: 170px;
    padding: 6px;
    border: 5px solid #f5a400;
    border-radius: 50%;
    object-fit: contain;
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.login-title {
    margin: 0;
    text-align: center;
    color: #19455e;
    font-size: 28px;
    font-weight: 750;
}

.login-subtitle {
    margin: 8px 0 28px;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.input-group-custom {
    position: relative;
    margin-bottom: 18px;
}

.input-group-custom > i {
    position: absolute;
    top: 50%;
    left: 15px;
    z-index: 2;
    transform: translateY(-50%);
    color: #19455e;
    font-size: 16px;
}

.input-group-custom input {
    width: 100%;
    height: 52px;
    padding: 10px 48px 10px 44px;
    border: 1px solid #cfd6dd;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 15px;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.input-group-custom input:focus {
    border-color: #f5a400;
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(245, 164, 0, 0.16);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 3;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    background: transparent;
    transform: translateY(-50%);
    color: #6b7280;
    cursor: pointer;
}

.password-toggle:hover {
    color: #19455e;
}

.btn-login {
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #f5a400, #e88f00);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(232, 143, 0, 0.30);
    cursor: pointer;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(232, 143, 0, 0.38);
}

.btn-login:active {
    transform: translateY(0);
}

.back-link {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: #19455e;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    color: #e88f00;
}

.security-text {
    margin: 24px 0 0;
    text-align: center;
    color: #9ca3af;
    font-size: 12px;
}

@media (max-width: 480px) {
    body {
        padding: 16px;
    }

    .login-card {
        padding: 30px 22px;
        border-radius: 18px;
    }

    .logo-container img {
        width: 95px;
        height: 95px;
    }

    .login-title {
        font-size: 24px;
    }
}