@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;700;900&display=swap');

:root {
    --primary: #83E4D1;
    --primary-dark: #5ac2af;
    --accent: #ff9f1c;
    --accent-hover: #e38a15;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-main: #f4f6f9;
    --input-border: #e2e8f0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    background: linear-gradient(135deg, var(--bg-main) 0%, #d1dceb 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-dark);
    padding: 40px 20px;
}

.auth-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

.auth-card {
    background-color: white;
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--primary);
    padding: 40px;
}

.large-card {
    max-width: 650px;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

/* Estilos aplicados al logo para igualar la pantalla de Login */
.auth-logo {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    margin-bottom: 15px;
}

.auth-header h2 {
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.auth-header p {
    color: var(--text-light);
    font-size: 16px;
}

.form-section {
    border: none;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.form-section legend {
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-dark);
    margin-bottom: 15px;
    width: 100%;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.input-group {
    margin-bottom: 15px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 14px;
}

.input-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Nunito', sans-serif;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(131, 228, 209, 0.3);
}

.radio-label {
    display: block;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 14px;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background: var(--bg-main);
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: 0.3s;
}

.radio-option:hover {
    background: #e2e8f0;
}

.radio-option input[type="radio"] {
    accent-color: var(--primary-dark);
    transform: scale(1.2);
}

.terms-group {
    margin: 20px 0;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    color: var(--text-light);
    line-height: 1.4;
}

.checkbox-container a {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
}

.btn {
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-block {
    width: 100%;
    display: block;
    margin-top: 10px;
}

.btn-primary {
    background-color: var(--accent);
    color: white;
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 159, 28, 0.3);
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
}

.auth-footer p {
    color: var(--text-light);
    margin-bottom: 10px;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 700;
}

.auth-footer a:hover {
    text-decoration: underline;
}

.back-home {
    display: inline-block;
    margin-top: 10px;
    color: var(--text-light) !important;
    font-size: 14px;
}

/* =============================================
   DISEÑO RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    header h1 { font-size: 32px; }
    .hero-title { font-size: 28px; }
    .input-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .auth-card {
        padding: 25px;
    }
}
