:root {
    --primary: #2563eb;
    --bg-dark: #1e293b;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-dark);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    padding: 2rem 1rem;
}

form {
    background: #ffffff;
    padding: 2.5rem;
    width: 100%;
    max-width: 450px;
    box-shadow: 8px 8px 0px rgba(0,0,0,0.2); 
    border: 2px solid #000;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

h1 {
    margin-top: 0;
    color: #000;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.8rem;
    text-align: center;
}

p.subtitle {
    text-align: center;
    color: #64748b;
    margin: -0.5rem 0 1rem 0;
    font-size: 0.9rem;
}

label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: #334155;
    text-transform: uppercase;
    font-size: 0.8rem;
}

input[type="text"], input[type="email"], input[type="password"] {
    width: 100%;
    padding: 0.8rem;
    box-sizing: border-box;
    border: 2px solid #cbd5e1;
    background: #f1f5f9;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
}

/* Input file personalizado */
input[type="file"] {
    width: 100%;
    padding: 0.5rem;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    cursor: pointer;
}

input[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: #000;
    color: #fff;
    border: none;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1rem;
    transition: transform 0.2s, background 0.2s;
}

input[type="submit"]:hover {
    transform: translateY(-2px);
    background: var(--primary);
    box-shadow: 4px 4px 0 rgba(0,0,0,0.1);
}

.links {
    text-align: center;
    margin-top: 1rem;
}
.links a { color: #64748b; text-decoration: none; font-weight: 600; }
.links a:hover { color: var(--primary); text-decoration: underline; }