* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

html, body {
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    background:
        linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),
        url('s.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0b1220;
}

.login-wrapper,
.register-wrapper {
    width: 100%;
    max-width: 420px;
}

form {
    width: 100%;
    padding: 48px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 18px;
    box-shadow:
        0 24px 70px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.08);
}

form h2 {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: rgba(255,255,255,0.96);
}

form h2 span {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    font-weight: 400;
    color: rgba(255,255,255,0.6);
}

input {
    width: 100%;
    padding: 11px 12px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.24);
    background: rgba(255,255,255,0.09);
    color: #ffffff;
    font-size: 13.5px;
    line-height: 1.3;
    transition: background-color 0.2s ease, border 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder {
    color: rgba(255,255,255,0.45);
}

input:focus {
    outline: none;
    background: rgba(255,255,255,0.16);
    border-color: rgba(110,130,255,0.8);
    box-shadow: 0 0 0 3px rgba(110,130,255,0.28);
}

button {
    margin-top: 8px;
    padding: 14px;
    border-radius: 10px;
    border: none;
    background: #4f6ef7;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

button:hover {
    background: #5a78ff;
    box-shadow: 0 12px 32px rgba(79,110,247,0.45);
}

button:active {
    transform: translateY(1px);
}

.form-footer {
    margin-top: 12px;
    text-align: center;
}

.form-footer label {
    display: block;
    font-size: 18px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #ffffff;
}

.form-footer a {
    display: inline-block;
    margin-top: 4px;
    font-size: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    color: #ffffff;
    text-decoration: underline;
}
