html {
    min-height: 100%;
    background:
        radial-gradient(circle at 15% 10%, rgba(255, 255, 255, 0.08), transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 50%),
        radial-gradient(circle at 60% 85%, rgba(255, 255, 255, 0.05), transparent 48%),
        linear-gradient(140deg, var(--bg-1), var(--bg-2)),
        #000;
}

.login-body {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.page {
    width: min(520px, 92vw);
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
    position: relative;
}

.logo-top {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
}

.logo-top img {
    width: clamp(90px, 18vw, 130px);
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.55));
    animation: float 6s ease-in-out infinite;
}

.form-card {
    border-radius: 28px;
    border: 1px solid var(--stroke);
    box-shadow: 0 35px 70px var(--shadow);
    position: relative;
    overflow: hidden;
    padding: clamp(28px, 5vw, 44px);
    background: var(--card);
    backdrop-filter: blur(18px);
    display: flex;
    flex-direction: column;
    gap: 22px;
    animation: rise 0.8s ease-out;
}

.form-card h2 {
    font-family: "Bypass Display", sans-serif;
    font-size: 1.8rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--muted);
}

.label-icon {
    font-size: 1.05rem;
    color: var(--muted);
}

input {
    background: rgba(12, 12, 12, 0.75);
    color: var(--text);
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 1rem;
    transition: border 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    width: 100%;
}

input:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12);
    transform: translateY(-1px);
}

.form-card header {
    text-align: center;
}

.input-group {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-with-toggle {
    padding-right: 46px;
}

.toggle-pass {
    position: absolute;
    right: 12px;
    border: none;
    background: transparent;
    color: var(--muted);
    padding: 6px;
    border-radius: 8px;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
}

.toggle-pass:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

.submit {
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px;
    font-family: "Bypass Display", sans-serif;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 14px;
    border: none;
    color: #050505;
    background: linear-gradient(135deg, #ffffff, #cfcfcf);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 26px rgba(255, 255, 255, 0.18);
}

@keyframes rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(12px); }
}
