/* Estilos para la página de login */
body {
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    transition: background-color 0.3s ease;
    background-color: #f3f4f6;
}
.dark body {
    background-color: #111827;
}

.container {
    display: flex;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 768px;
    max-width: 90%;
    min-height: 480px;
}
.dark .container {
    background-color: #1f2937;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.container p {
    font-size: 15px;
    line-height: 22px;
    letter-spacing: 0.3px;
    margin: 20px 0;
}
.container span {
    font-size: 14px;
    margin-bottom: 10px;
}
.container a {
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0 10px;
}
.container button {
    background-color: #2563eb;
    color: #fff;
    font-size: 13px;
    padding: 12px 45px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}
.container button:hover {
    background-color: #1d4ed8;
}

.container form {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    height: 100%;
}
.dark .container form {
    background-color: #1f2937;
}
.container input {
    background-color: #f3f4f6;
    border: 1px solid #d1d5db;
    margin: 8px 0;
    padding: 12px 15px;
    font-size: 14px;
    border-radius: 8px;
    width: 100%;
    outline: none;
    transition: border-color 0.3s;
}
.container input:focus {
    border-color: #2563eb;
}
.dark .container input {
    background-color: #374151;
    border-color: #4b5563;
    color: #e5e7eb;
}

.form-container {
    width: 50%;
}
.toggle-container {
    width: 50%;
    background: linear-gradient(to right, #3b82f6, #1d4ed8);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.toggle-panel {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 35px;
    text-align: center;
}
.error-message {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    height: 18px;
    text-align: center;
}

.mobile-toggle {
    display: none;
}

@media (max-width: 767px) {
    .container {
        width: 100%;
        max-width: 100%;
        height: 100vh;
        min-height: 100vh;
        border-radius: 0;
        box-shadow: none;
    }
    .toggle-container {
        display: none;
    }
    .form-container {
        width: 100%;
    }
    .mobile-toggle {
        display: block;
        margin-top: 20px;
    }
    .mobile-toggle a {
        color: #2563eb;
        font-weight: 600;
        cursor: pointer;
    }
}