:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --bg: #f8fafc;
    --card: #ffffff;
    --text: #1e293b;
    --border: #e2e8f0;
}

* { box-sizing: border-box; transition: all 0.2s ease; }

body { 
    font-family: 'Inter', sans-serif; 
    background-color: var(--bg); 
    color: var(--text); 
    margin: 0; 
    display: flex; 
    min-height: 100vh; 
}

.container { 
    background: var(--card); 
    padding: 2.5rem; 
    border-radius: 1rem; 
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1); 
    width: 95%; 
    max-width: 450px; 
    margin: auto; 
}

.container.wide { max-width: 1000px; }

h2 { font-size: 1.5rem; font-weight: 700; text-align: center; margin-bottom: 1.5rem; color: #0f172a; }

label { display: block; margin-bottom: 0.5rem; font-size: 0.875rem; font-weight: 600; }

input { 
    width: 100%; 
    padding: 0.75rem; 
    margin-bottom: 1.25rem; 
    border: 1px solid var(--border); 
    border-radius: 0.5rem; 
    outline: none; 
}

input:focus { border-color: var(--primary); ring: 2px solid #c7d2fe; }

button { 
    width: 100%; 
    padding: 0.75rem; 
    background: var(--primary); 
    color: white; 
    border: none; 
    border-radius: 0.5rem; 
    cursor: pointer; 
    font-weight: 600; 
    font-size: 1rem;
}

button:hover { background: var(--primary-hover); transform: translateY(-1px); }

button.secondary { background: white; color: var(--text); border: 1px solid var(--border); margin-top: 0.5rem; }

.link-action { display: block; text-align: center; margin-top: 1rem; font-size: 0.875rem; color: var(--primary); text-decoration: none; }

/* Estilo para celulares */
@media (max-width: 600px) {
    .container { padding: 1.5rem; }
    table { font-size: 0.75rem; }
}