/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos del body */
body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #3e4d74, #0e4f88);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 1rem;
}

/* Contenedor principal del login */
.login-container {
    background-color: rgb(255, 255, 255);
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    width: 100%;
}

/* Responsive para desktop */
@media (min-width: 768px) {
    .login-container {
        flex-direction: row;
        height: 600px;
    }
}

/* Panel izquierdo */
.left-panel {
    background: linear-gradient(180deg, #008afb, #1bbff5);
    color: white;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Formas decorativas del panel izquierdo */
.left-panel::before,
.left-panel::after {
    content: '';
    position: absolute;
    background: rgb(0, 132, 255);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.left-panel::before {
    width: 300px;
    height: 300px;
    top: -100px;
    left: -100px;
}

.left-panel::after {
    width: 400px;
    height: 400px;
    bottom: -150px;
    right: -150px;
}

/* Formas geométricas adicionales */
.decorative-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite, spin 8s linear infinite;
}

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

.shape-1 {
    width: 180px;
    height: 180px;
    background: linear-gradient(180deg, #ffa6a3, #ebbf30);
    top: -40px;
    right: -40px;
    animation: float 6s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateX(-20px); }
}

.shape-2 {
    width: 120px;
    height: 120px;
    background: rgba(45, 61, 140, 0.3);
    top: 60px;
    right: 10px;
}

.shape-3 {
    width: 150px;
    height: 150px;
    background: rgb(0, 255, 242);
    bottom: -30px;
    left: -50px;
}

/* Contenido del panel izquierdo */
.left-panel .content {
    position: relative;
    z-index: 1;
    animation: slideIn 1s ease-out forwards; 
}
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.content img {
    max-width: 400px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.content h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.content p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* Panel derecho */
.right-panel {
    padding: 8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex-grow: 1;
}

/* Título del formulario */
.right-panel h5 {
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 2rem;
    text-align: left;
}

/* Espaciado del formulario */
.space-y-6 > * + * {
    margin-top: 0.40rem;
}

/* Labels */
.space-y-6 label {
    display: block;
    font-size: 0.875rem;
    color: #4B5563;
    margin-bottom: 0.10rem;
    font-weight: 500;
}

/* Inputs generales */
.space-y-6 input[type="text"], 
.space-y-6 input[type="password"], 
.input-field {
    width: 100%;
    padding: 0.10rem 0;
    border: none;
    border-bottom: 2px solid #D1D5DB;
    font-size: 1rem;
    transition: border-bottom-color 0.3s ease;
    background: transparent;
    color: #374151;
}

.space-y-6 input[type="text"]:focus, 
.space-y-6 input[type="password"]:focus, 
.input-field:focus {
    outline: none;
    border-bottom-color: #2878d9;
}

/* Contenedor del input de usuario con @ */
.border {
    display: flex;
    align-items: center;
    border: none !important;
    border-bottom: 2px solid #D1D5DB !important;
    background: transparent !important;
    padding: 0 !important;
    overflow: visible !important;
}

.border:focus-within {
    border-bottom-color: #2878d9 !important;
}

.border span {
    background: transparent !important;
    border: none !important;
    padding: 0.75rem 0.5rem 0.75rem 0 !important;
    color: #6B7280 !important;
    font-size: 1rem;
}

.border input {
    border: none !important;
    background: transparent !important;
    padding: 0.75rem 0 !important;
}

/* Contenedor de recordarme */
.flex.items-center.justify-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 1.5rem 0;
}

.flex.items-center input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    accent-color: #2878d9;
    margin-right: 0.5rem;
}

.flex.items-center label {
    font-size: 0.875rem;
    color: #4B5563;
    margin: 0;
}

/* Botón principal */
.btn-primary-custom {
    background-color: #2889d9;
    color: white;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
     border-radius: 90px; 
}

.btn-primary-custom:hover {
    background-color: #2178b6;
}

/* Botón secundario */
.btn-secondary-custom {
    background-color: #E5E7EB;
    color: #4B5563;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-secondary-custom:hover {
    background-color: #D1D5DB;
}

/* Texto SEGUIR */
.text-center.text-gray-600 {
    text-align: center;
    color: #6B7280;
    font-size: 0.875rem;
    margin: 2rem 0 1.25rem 0;
}

/* Contenedor de iconos sociales */
.flex.justify-center.space-x-6 {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Iconos sociales */
.social-icon {
    color: #6B7280;
    transition: color 0.2s;
    text-decoration: none;
}

.social-icon:hover {
    color: #4B5563;
    transform: translateY(-2px);
}

/* Footer de derechos */
.text-center.text-gray-500 {
    text-align: center;
    color: #6B7280;
    font-size: 0.813rem;
}

.text-center.text-gray-500 a {
    color: #2878d9;
    text-decoration: none;
}

.text-center.text-gray-500 a:hover {
    text-decoration: underline;
}

/* Responsive móviles */
@media (max-width: 767px) {
    .left-panel {
        display: none;
    }
    
    .right-panel {
        padding: 2rem 1.5rem;
    }
    
    .right-panel h5 {
        text-align: center;
        font-size: 1.75rem;
    }
}

/* Ajustes adicionales para formularios */
.flex.flex-col.sm\\:flex-row.gap-4 {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .flex.flex-col.sm\\:flex-row.gap-4 {
        flex-direction: row;
    }
}