html, body {
    height: 100%;
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    color: #fff;
}

body {
    background: linear-gradient(rgba(0,0,0,0.36), rgba(0,0,0,0.36)), url("/static/R.jpg") center/cover no-repeat fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.card {
    width: 900px;
    max-width: 96%;
    display: flex;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6);
    border: 1px solid rgba(255,255,255,0.06);
    backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.03);
}

.left {
    flex: 0.9;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, rgba(0,0,0,0.14), rgba(255,255,255,0.01));
}

.left h2 {
    margin: 0;
    font-size: 28px;
    color: #fff;
    letter-spacing: 0.2px;
}

.left p {
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.btn {
    margin-top: 16px;
    background: #1e90ff;
    color: #fff;
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 8px 22px rgba(30,144,255,0.22);
}

.right {
    flex: 1.1;
    padding: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

form {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

label {display:block;}

input[type="email"],
input[type="password"],
input[type="text"] {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.04);
    color: #fff;
    outline: none;
    transition: box-shadow .15s, border-color .15s;
}

input::placeholder { color: rgba(255,255,255,0.75); }

input:focus {
    border-color: rgba(30,144,255,0.9);
    box-shadow: 0 6px 20px rgba(30,144,255,0.12);
}

.link {
    margin-top: 14px;
    text-align: center;
}

.link a { color: #fff; text-decoration: underline; }

ul { margin-top: 12px; padding-left: 18px; }
li { color: #ffb3b3; }

@media (max-width: 800px) {
    .card { flex-direction: column; }
    .left, .right { padding: 20px; }
    .left { order: 2; }
    .right { order: 1; }
    .btn { width: 100%; }
}