@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);
}

.auth-container {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.auth-card {
    background-color: white;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border-top: 6px solid var(--primary);
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.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;
}

.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
}

.input-group input {
    width: 100%;
    padding: 14px 15px;
    border: 2px solid var(--input-border);
    border-radius: 10px;
    font-size: 16px;
    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);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-light);
}

.forgot-password {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 700;
}

.forgot-password:hover {
    text-decoration: underline;
}

.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;
}

.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: 30px;
    text-align: center;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.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; }
}