@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', Arial, sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e2a45 50%, #162035 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 0;
}

.registro-container {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 2.5rem;
    border-radius: 18px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
}

.form-group {
    margin-bottom: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

label {
    display: block;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

input, select {
    width: 100%;
    padding: 0.7rem 1rem;
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 9px;
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
    background: rgba(255,255,255,0.07);
    color: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

input:focus, select:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99,102,241,0.2);
}

input::placeholder { color: rgba(255,255,255,0.25); }
select option { background-color: #1e2a45; color: #fff; }

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: white;
    border: none;
    border-radius: 9px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    margin-top: 0.8rem;
    transition: opacity 0.2s, transform 0.1s;
    box-shadow: 0 4px 15px rgba(99,102,241,0.4);
}

button[type="submit"]:hover { opacity: 0.9; transform: translateY(-1px); }

.error {
    color: #f87171;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
    background: rgba(248,113,113,0.1);
    padding: 0.6rem;
    border-radius: 8px;
}

.success {
    color: #4ade80;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
    background: rgba(74,222,128,0.1);
    padding: 0.6rem;
    border-radius: 8px;
}

.link {
    text-align: center;
    margin-top: 1.2rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
}

.link a { color: #818cf8; text-decoration: none; font-weight: 500; }
.link a:hover { text-decoration: underline; }
