*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(16,185,129,0.07) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(37,99,235,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.container {
    background: #1e293b;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 20px;
    padding: 36px 32px 28px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 24px 64px rgba(2,6,23,0.55);
}

.form-title {
    font-size: 20px;
    font-weight: 700;
    color: #f1f5f9;
    text-align: center;
    margin-bottom: 24px;
}

.input-group {
    margin-bottom: 16px;
    position: relative;
}

.input-group i {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #475569;
    font-size: 14px;
    pointer-events: none;
}

.input-group input {
    width: 100%;
    padding: 10px 12px 10px 36px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    color: #f1f5f9;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.input-group input::placeholder { color: #475569; }
.input-group input:focus {
    border-color: #10b981;
    background: rgba(255,255,255,0.09);
}

label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 7px;
    position: static;
    cursor: default;
    pointer-events: none;
    transition: none;
}

.forgot {
    text-align: right;
    font-size: 12px;
    margin-bottom: 16px;
    margin-top: -8px;
}

.forgot a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}
.forgot a:hover { color: #10b981; }

.btn {
    width: 100%;
    padding: 11px;
    background: #10b981;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
    display: block;
    text-align: center;
}
.btn:hover  { opacity: 0.88; }
.btn:active { transform: scale(0.98); }

.or {
    text-align: center;
    color: #334155;
    font-size: 12px;
    margin: 20px 0 16px;
    position: relative;
}
.or::before, .or::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 38%;
    height: 1px;
    background: rgba(255,255,255,0.07);
}
.or::before { left: 0; }
.or::after  { right: 0; }

.links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
}

button {
    background: none;
    border: none;
    color: #10b981;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.15s;
}
button:hover { opacity: 0.8; text-decoration: underline; }

@media (max-width: 480px) {
    .container { padding: 28px 20px 22px; border-radius: 16px; }
}
