
        :root {
            --primary-color: #dea088;
            --primary-dark: #9e541a;
            --primary-light: #f2d1c1;
            --secondary-color: #4a6fa5;
            --text-color: #333333;
            --light-gray: #f7f7f7;
            --white: #ffffff;
            --dark: #222222;
            --success: #28a745;
            --warning: #ffc107;
            --danger: #dc3545;
            --body-font: 'Poppins', sans-serif;
            --heading-font: 'Montserrat', sans-serif;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: var(--body-font);
            background: linear-gradient(135deg, #f6f9fc 0%, #ecf3f9 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
        }

        .auth-container {
            background: var(--white);
            border-radius: 20px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            max-width: 1000px;
            width: 100%;
            min-height: 600px;
            position: relative;
        }

        .auth-container::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        }

    .logo-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(242, 209, 193, 0.3) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    position: relative;
    min-height: 600px;
}

.logo-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(222, 160, 136, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(158, 84, 26, 0.1) 0%, transparent 50%);
}

.logo-container {
    position: relative;
    z-index: 2;
    text-align: center;
    /* Removido margin-bottom: auto; */
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1; /* Esto hace que tome todo el espacio disponible */
    width: 100%;
}

.logo-container img {
    width: 100%; /* Ajusta este valor según prefieras */
    height: auto;
    max-width: 500px; /* Límite máximo opcional */
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.logo-container img:hover {
    transform: scale(1.05);
}

        .back-button-container {
            position: relative;
            z-index: 2;
            margin-top: auto;
            width: 100%;
            display: flex;
            justify-content: center;
        }

        .btn-back {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            border: none;
            padding: 12px 30px;
            border-radius: 25px;
            font-weight: 500;
            text-decoration: none;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(158, 84, 26, 0.3);
        }

        .btn-back:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(158, 84, 26, 0.4);
            color: var(--white);
        }

        .form-section {
            padding: 60px 40px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            min-height: 600px;
        }

        .form-title {
            font-family: var(--heading-font);
            font-size: 2rem;
            font-weight: 600;
            color: var(--dark);
            text-align: center;
            margin-bottom: 10px;
        }

        .form-subtitle {
            color: #666;
            text-align: center;
            margin-bottom: 40px;
            font-size: 1.1rem;
        }

        .form-group {
            margin-bottom: 25px;
            position: relative;
        }

        .form-control {
            border: 2px solid #e0e0e0;
            border-radius: 12px;
            padding: 15px 20px;
            font-size: 16px;
            transition: all 0.3s ease;
            background-color: #fafafa;
        }

        .form-control:focus {
            border-color: var(--primary-color);
            box-shadow: 0 0 0 0.2rem rgba(222, 160, 136, 0.25);
            background-color: var(--white);
        }

        .form-control::placeholder {
            color: #999;
            font-weight: 400;
        }

        .input-icon {
            position: absolute;
            left: 20px;
            top: 50%;
            transform: translateY(-50%);
            color: #999;
            font-size: 16px;
        }

        .form-control.with-icon {
            padding-left: 55px;
        }

        .btn-login {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            color: var(--white);
            border: none;
            padding: 15px 30px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            width: 100%;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(158, 84, 26, 0.3);
            margin-top: 10px;
        }

        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(158, 84, 26, 0.4);
        }

        .btn-login:active {
            transform: translateY(0);
        }

        .error-message {
            background: rgba(220, 53, 69, 0.1);
            color: var(--danger);
            padding: 12px 20px;
            border-radius: 8px;
            border-left: 4px solid var(--danger);
            margin: 20px 0;
            font-size: 14px;
            display: none;
        }

        .footer-text {
            text-align: center;
            margin-top: 30px;
            color: #999;
            font-size: 14px;
        }

        .divider {
            text-align: center;
            margin: 30px 0;
            position: relative;
        }

        .divider::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            height: 1px;
            background: #e0e0e0;
        }

        .divider span {
            background: var(--white);
            padding: 0 20px;
            color: #999;
        }

        .form-check {
            margin: 20px 0;
        }

        .form-check-input:checked {
            background-color: var(--primary-color);
            border-color: var(--primary-color);
        }

        .form-check-label {
            color: #666;
            font-size: 14px;
        }



        /* Loading state */
        .btn-login.loading {
            position: relative;
            color: transparent;
        }

        .btn-login.loading::after {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 20px;
            height: 20px;
            margin: -10px 0 0 -10px;
            border: 2px solid transparent;
            border-top-color: var(--white);
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* Floating elements decoration */
        .floating-elements {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            overflow: hidden;
            pointer-events: none;
        }

        .floating-elements::before,
        .floating-elements::after {
            content: '';
            position: absolute;
            width: 100px;
            height: 100px;
            border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            opacity: 0.1;
        }

        .floating-elements::before {
            top: -50px;
            right: -50px;
            animation: float 6s ease-in-out infinite;
        }

        .floating-elements::after {
            bottom: -50px;
            left: -50px;
            animation: float 6s ease-in-out infinite reverse;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-20px); }
        }
    