/* 
 * Estilos para el layout externo de Hope UI
 * Incluye estilos para el header, contenido principal y footer
 */

/* Estilos generales */
body.bg-light {
    background-color: #f8f9fa !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    background-color: #fff;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.navbar {
    padding: 0.75rem 0;
}

.navbar-brand img {
    height: 40px;
    transition: all 0.3s ease;
}

.navbar-brand img:hover {
    opacity: 0.9;
}

.btn-outline-orange {
    color: #ff8000;
    border-color: #ff8000;
}

.btn-outline-orange:hover {
    color: #fff;
    background-color: #ff8000;
    border-color: #ff8000;
}

/* Contenido principal */
.main-content {
    flex: 1;
    padding: 2rem 0;
}

/* Tarjeta de formulario */
.card {
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
}

.card-body {
    padding: 2.5rem;
}

@media (max-width: 767.98px) {
    .card-body {
        padding: 1.5rem;
    }
}

/* Formularios */
.form-control {
    padding: 0.75rem 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.375rem;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: #ff8000;
    box-shadow: 0 0 0 0.25rem rgba(255, 128, 0, 0.25);
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

/* Botones */
.btn-primary {
    background-color: #ff8000;
    border-color: #ff8000;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #e67300;
    border-color: #e67300;
    box-shadow: 0 0.5rem 1rem rgba(255, 128, 0, 0.25);
}

.btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1.05rem;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: #fff;
    padding: 2.5rem 0;
    margin-top: auto;
}

.footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer a:hover {
    color: #fff;
    text-decoration: none;
}

.footer .list-inline-item:not(:last-child) {
    margin-right: 0.5rem;
}

.footer .list-inline-item:not(:last-child)::after {
    content: '|';
    margin-left: 0.5rem;
    color: #475569;
}

/* Mensajes y alertas */
.alert {
    border: none;
    border-radius: 0.375rem;
    padding: 1rem 1.25rem;
}

.alert-info {
    background-color: #e0f2fe;
    color: #0369a1;
}

/* Utilidades */
.text-orange {
    color: #ff8000 !important;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

/* Estilos específicos para la página de restablecimiento */
.reset-password-card {
    /*max-width: 28rem;
    margin: 0 auto;*/
}

.reset-password-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 1.5rem;
}

.back-to-login {
    display: inline-flex;
    align-items: center;
    color: #64748b;
    transition: color 0.2s ease;
}

.back-to-login:hover {
    color: #334155;
    text-decoration: none;
}

.back-to-login i {
    margin-right: 0.5rem;
    transition: transform 0.2s ease;
}

.back-to-login:hover i {
    transform: translateX(-2px);
}

.header {
    -webkit-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
    height: auto !important;
  }