:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --bg-app: #f8fafc;
    --card-bg: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Inter', -apple-system, sans-serif; }

body { 
    background-color: var(--bg-app);
    background-image: 
        radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 0% 100%, rgba(37, 99, 235, 0.05) 0%, transparent 25%);
    color: var(--text-main); 
    min-height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    padding: 20px;
    -webkit-font-smoothing: antialiased;
}

.glass-card { 
    background: var(--card-bg);
    width: 100%;
    max-width: 460px;
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.logo-box { 
    background: var(--primary);
    width: 48px; height: 48px; 
    border-radius: 12px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-weight: 800; 
    font-size: 1.5rem;
    color: white;
    margin-bottom: 2rem;
}

h2 { font-size: 2rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.5rem; }
p { color: var(--text-muted); margin-bottom: 2.5rem; font-size: 1rem; line-height: 1.5; }

/* --- TABS PROFESIONALES --- */
.tabs { 
    display: flex; 
    gap: 1.5rem;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2.5rem;
}
.tabs button { 
    padding: 0.75rem 0;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
    margin-bottom: -2px;
}
.tabs button.active { 
    color: var(--primary);
    border-bottom-color: var(--primary);
}

/* --- FORMULARIO GRANDE --- */
.form-group { margin-bottom: 1.5rem; }
label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--text-main); }

input { 
    width: 100%; 
    padding: 14px 16px; 
    border: 1px solid var(--border); 
    border-radius: 12px; 
    outline: none; 
    font-size: 1rem;
    background: #ffffff;
    transition: all 0.2s ease;
}
input:focus { 
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

button.btn-primary { 
    background: var(--primary);
    color: white; 
    border: none; 
    padding: 16px; 
    border-radius: 12px; 
    cursor: pointer; 
    font-weight: 600; 
    width: 100%;
    font-size: 1rem;
    transition: background 0.2s;
    margin-top: 1rem;
}
button.btn-primary:hover { 
    background: var(--primary-hover);
}

/* --- DROPZONE --- */
.modern-dropzone {
    border: 2px dashed var(--border); 
    border-radius: 12px; 
    padding: 2rem; 
    text-align: center; 
    cursor: pointer; 
    background: #fafafa;
    transition: 0.2s;
}
.modern-dropzone:hover { border-color: var(--primary); background: #f0f7ff; }

.avatar-preview { 
    width: 80px; height: 80px; 
    border-radius: 50%; 
    object-fit: cover; 
    margin-bottom: 1rem;
}

.hidden { display: none !important; }

/* ADAPTABILIDAD */
@media (max-width: 480px) {
    body { background: white; padding: 0; align-items: flex-start; }
    .glass-card { 
        box-shadow: none; border: none; padding: 3rem 1.5rem; border-radius: 0;
    }
}