/* 
 * ====================================
 * Estilos generales y del contenedor principal
 * ====================================
 */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f3f4f6; /* bg-gray-100 */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    padding: 1rem; /* p-4 */
}

.login-container {
    background-color: #fff; /* bg-white */
    padding: 2rem; /* p-8 */
    border-radius: 0.75rem; /* rounded-xl */
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1); /* shadow-xl */
    max-width: 28rem; /* max-w-md */
    width: 100%;
}

.logo-image {
    width: 450px;
    height: 150px;
    object-fit: contain; /* Asegura que la imagen se ajuste sin distorsionarse */
    display: block;
}

/* 
 * ====================================
 * Estilos de enlaces y títulos
 * ====================================
 */
.register-link-text {   
    font-size: 0.875rem; /* text-sm */
    color: #6b7280; /* text-gray-500 */
}

.register-link {
    color: #af9202ff; /* text-indigo-600 */
    font-weight: 600; /* font-semibold */
    text-decoration: none;
}

.register-link:hover {
    text-decoration: underline;
}

.image-placeholder-container {
    width: 6rem; /* w-24 */
    height: 6rem; /* h-24 */
    margin: 0 auto 1.5rem; /* mx-auto mb-6 */
    background-color: #fefefeff; /* bg-gray-200 */
    border-radius: 0.5rem; /* rounded-lg */
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffffff; /* text-gray-400 */
}

.image-placeholder-icon {
    width: 3rem; /* w-12 */
    height: 3rem; /* h-12 */
    stroke-width: 1.5;
}

.title-container {
    text-align: center;
    margin-bottom: 1.5rem; /* mb-6 */
}

.title {
    font-family: 'Prompt', sans-serif;
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    color: #1f2937; /* text-gray-800 */
}

.subtitle {
    color: #6b7280; /* text-gray-500 */
    margin-top: 0.5rem; /* mt-2 */
    font-size: 0.875rem; /* text-sm */
}

/* 
 * ====================================
 * Estilos de notificaciones de error
 * ====================================
 */
.notification-container {
    margin-bottom: 1rem; /* mb-4 */
}

.notification {
    padding: 1rem; /* p-4 */
    border-radius: 0.375rem; /* rounded-md */
    background-color: #fee2e2; /* bg-red-100 */
    display: flex;
    align-items: center;
    gap: 0.75rem; /* space-x-3 */
}

.notification-icon {
    height: 1.25rem; /* h-5 */
    width: 1.25rem; /* w-5 */
    color: #dc2626; /* text-red-600 */
}

.notification span {
    color: #991b1b; /* text-red-800 */
    font-weight: 500; /* font-medium */
    font-size: 0.875rem; /* text-sm */
}

/* 
 * ====================================
 * Estilos de formulario y campos
 * ====================================
 */
.form-group {
    position: relative;
}

.form-label {
    display: block;
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #374151; /* text-gray-700 */
    padding: 0rem 0rem;
    margin-top: 20px;
}

.input-container {
    margin-top: 0.25rem; /* mt-1 */
    position: relative;
}

.form-input {
    display: block;
    width: 100%;
    padding: 0.5rem 1rem; /* py-2 px-4 */
    border: 1px solid #d1d5db; /* border-gray-300 */
    border-radius: 0.375rem; /* rounded-md */
    box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); /* shadow-sm */
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #ffea2dff; /* border-indigo-500 */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #d5cc19ff; /* ring-2 ring-white ring-offset-2 ring-indigo-500 */
}

.password-toggle {
    position: absolute;
    right: 0.5rem; /* right-2 */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #6b7280; /* text-gray-500 */
    padding: 0.25rem; /* p-1 */
}

.password-toggle-icon {
    width: 1.25rem; /* h-5 */
    height: 1.25rem; /* w-5 */
}

.forgot-password-link-container {
    display: flex;
    justify-content: flex-end;
    font-size: 0.875rem; /* text-sm */
    margin-top: 0.25rem; /* mt-1 */
}

.forgot-password-link {
    font-weight: 600; /* font-semibold */
    color: #af9202ff; /* text-indigo-600 */
    text-decoration: none;
}

.forgot-password-link:hover {
    text-decoration: underline;
}

.continue-button {
    display: flex;
    width: 100%;
    justify-content: center;
    padding: 0.625rem 1.25rem; /* py-2.5 px-5 */
    font-size: 1rem; /* text-base */
    font-weight: 600; /* font-semibold */
    color: #1f2937; /* text-gray-900 */
    background-color: #facc15; /* bg-yellow-400 */
    border-radius: 0.375rem; /* rounded-md */
    border: none;
    cursor: pointer;
    transition: background-color 300ms;
}

.continue-button:hover {
    background-color: #eab308; /* hover:bg-yellow-500 */
}

.continue-button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #facc15; /* ring-2 ring-offset-2 ring-yellow-400 */
}

.home-link {
    font-size: 0.875rem; /* text-sm */
    font-weight: 500; /* font-medium */
    color: #af9202ff; /* text-gray-500 */
    gap: 0.25rem; /* space-x-1 */
    display: flex;
    align-items: center;
    text-decoration: none;
    text-align: left;
}

.home-link:hover {
    text-decoration: underline;
}

.top-line-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 10px 0;
    margin-bottom: 40px;
}

.top-line-left {
    text-align: left;
}

.top-line-right {
    text-align: right;
    white-space: nowrap;
}

/* 
 * ====================================
 * Media Queries para Responsive Design
 * ====================================
 */
@media (max-width: 640px) {
    .logo-image {
        width: 350px;
        height: 120px;
        object-fit: contain;
        display: block;
    }

    .login-container {
        padding: 1.5rem;
    }

    .top-line-container {
        justify-content: center;
        margin-bottom: 1.5rem;
    }

    .title {
        font-size: 1.25rem;
    }

    .subtitle {
        font-size: 0.8rem;
    }
}