 /* ===== FONDO GENERAL ===== */
body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f6f2ea;
}

/* ===== CARD ===== */
.auth-card {
    width: 380px;
    margin: 90px auto;
    background-color: #ffffff;
    padding: 34px 30px;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,0.12);
    animation: fadeUp 0.6s ease;
}

/* ===== TÍTULO ===== */
.auth-card h1 {
    text-align: center;
    color: #4b2e1f;
    margin-bottom: 20px;
    font-size: 28px;
}

/* ===== LABELS ===== */
label {
    font-size: 14px;
    font-weight: 600;
    color: #4b2e1f;
    margin-bottom: 6px;
    display: block;
}

/* ===== INPUTS ===== */
input {
    width: 95%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #d0c4b8;
    margin-bottom: 16px;
    font-size: 14px;
    transition: all 0.25s ease;
}

input:focus {
    outline: none;
    border-color: #a06a3d;
    box-shadow: 0 0 6px rgba(160,106,61,0.3);
}

/* ===== BOTÓN ===== */
button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #a06a3d, #7a4a27);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(122,74,39,0.35);
}

/* ===== LINKS ===== */
.auth-links {
    text-align: center;
    font-size: 14px;
    margin-top: 16px;
    color: #5c3d2e;
}

.auth-links a {
    color: #a06a3d;
    font-weight: bold;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}
/* ===== LINK OLVIDASTE ===== */
.forgot {
    text-align: right;
    margin-bottom: 14px;
}

.forgot a {
    font-size: 13px;
    color: #7a4a27;
    text-decoration: none;
}

.forgot a:hover {
    text-decoration: underline;
}

/* ===== LINKS REGISTRO ===== */
.auth-links {
    text-align: center;
    font-size: 14px;
    margin-top: 18px;
    color: #5c3d2e;
}

.auth-links a {
    color: #a06a3d;
    font-weight: bold;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ===== SOCIAL ICONS ===== */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 18px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    color: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-icons a:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
}

.facebook { background: #3b5998; }
.google { background: #db4437; }
.twitter { background: #1da1f2; }
.apple { background: #000000; }

/* ===== DIVIDER ===== */
.divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #ddd;
}

.divider span {
    margin: 0 10px;
    font-size: 13px;
    color: #999;
}

.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    width: 100%;
    padding-right: 35px; /* espacio para el icono */
}

#togglePassword {
    position: absolute;
    right: 10px;
    cursor: pointer;
    font-size: 18px;
    user-select: none; /* para que no seleccione texto al hacer clic */
}


/* ===== FOOTER ===== */
footer {
    text-align: center;
    font-size: 13px;
    margin-top: 40px;
    color: #5c3d2e;
}

/* ===== ANIMACIÓN ===== */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
