/* --- COMPONENTES GLOBALES --- */

/* Botones */
.btn-primary {
    background: var(--primary);
    color: white;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.btn-primary:hover {
    background: var(--secondary);
}

.btn-primary-small {
    background: var(--primary);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
}

.btn-full {
    width: 100%;
}

/* Formularios de Autenticación */
.auth-section {
    padding: 60px 0;
    display: flex;
    justify-content: center;
    background-color: var(--bg-soft);
}

.auth-card {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    max-width: 550px;
    margin: 0 auto;
}

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    color: var(--secondary);
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--secondary);
    font-size: 14px;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-family: 'Onest', sans-serif;
    font-size: 15px;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 173, 150, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.auth-footer {
    margin-top: 25px;
    text-align: center;
    font-size: 14px;
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.note {
    font-size: 13px;
    color: #888;
    margin-bottom: 20px;
}

/* --- FOOTER --- */
.main-footer {
    background-color: #111111;
    color: #ffffff;
    padding: 80px 0 0 0;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 50px;
}

.logo-footer {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    display: block;
    margin-bottom: 20px;
}

.logo-footer span { color: #20ad96; }

.footer-description {
    color: #ababab;
    font-size: 15px;
    line-height: 1.8;
}

.footer-column h4 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 25px;
    font-weight: 600;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #ababab;
    text-decoration: none;
    transition: 0.3s;
    font-size: 15px;
}

.footer-column ul li a:hover { color: #20ad96; }

.footer-bottom {
    background-color: #000000;
    padding: 25px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-bottom p {
    color: #777;
    font-size: 14px;
    margin: 0;
}

.social-links a {
    color: #ffffff;
    background: #222;
    width: 35px;
    height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: 0.3s;
}