.form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: white;
    background-image: radial-gradient(rgba(0,150,136,0.1) 2px, transparent 2px);
    background-size: 15px 15px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

.form-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #25D366, #128C7E);
}

.logo-wrapper {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    position: relative;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #128C7E;
    background: rgba(18,140,126,0.1);
    border-radius: 50%;
}

.logo-small {
    position: absolute;
    font-size: 12px;
    bottom: -5px;
    right: -5px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.form-header h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: #333;
    text-transform: lowercase;
}

.slogan {
    font-size: 0.75rem;
    font-weight: 400;
    color: #666;
    margin-left: 55px; /* Ajuste para alinear con el texto */
    letter-spacing: 0.5px;
    font-style: italic;
}

.back-link {
    color: #128C7E;
    text-decoration: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid rgba(18,140,126,0.3);
    align-self: flex-start; /* Alinea con el título */
    margin-top: 5px;
}

.back-link:hover {
    background-color: rgba(18,140,126,0.05);
    border-color: #128C7E;
}

.back-link i {
    transition: transform 0.3s;
}

.back-link:hover i {
    transform: translateX(-3px);
}

/* Mantén todos tus estilos existentes y agrega estos */

.logo-icon {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18,140,126,0.1);
    border-radius: 50%;
    overflow: hidden; /* Para asegurar que la imagen no sobresalga del círculo */
}

.logo-image {
    width: 24px; /* Tamaño ligeramente menor que el contenedor */
    height: 24px;
    object-fit: contain; /* Mantiene las proporciones de la imagen */
    transition: transform 0.3s ease;
}

/* Efecto hover para interactividad */
.logo-icon:hover .logo-image {
    transform: scale(1.1);
}

/* Versión alternativa si prefieres que la imagen llene el círculo */

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Ajustes para móviles */
@media (max-width: 768px) {
    .logo-icon {
        width: 36px;
        height: 36px;
    }
    
    .logo-image {
        width: 36px;
        height: 36px;
    }
}