/* Estilos personalizados */

/* Estilos para el logo */
.brand-logo {
    display: flex;
    align-items: center;
    padding-left: 15px !important;
}

.logo-img {
    height: 50px;
    transition: height 0.3s ease;
    cursor: pointer;
    margin-right: 12px;
    vertical-align: middle;
    border: 2px solid #2196F3;
}

/* Ajuste de la barra de navegación */
nav, .nav-wrapper {
    height: 64px;
    line-height: 64px;
    overflow: visible;
}

nav .sidenav-trigger {
    height: 64px;
    line-height: 64px;
}

/* Estilos del chat */
#chat-modal {
    max-width: 500px;
    height: 80%;
}

#chat-modal .modal-content {
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#chat-messages {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px;
    background-color: #f5f5f5;
}

.message {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
}

.message.user {
    align-items: flex-end;
}

.message.assistant {
    align-items: flex-start;
}

.message-content {
    max-width: 80%;
    padding: 10px 15px;
    border-radius: 15px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.message.user .message-content {
    background-color: #2196F3;
    color: white;
}

.message.assistant .message-content {
    background-color: white;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

#chat-input {
    padding: 15px;
    background-color: white;
    border-top: 1px solid #ddd;
    display: flex;
    gap: 10px;
}

#message-input {
    flex-grow: 1;
    margin: 0;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 20px;
    resize: none;
}

#send-message {
    min-width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 25px;
}

#send-message i {
    line-height: 50px;
}

/* Estilos para el formulario de contacto */
.contact-form {
    padding: 15px;
    background: #f5f5f5;
    border-radius: 8px;
    margin: 10px 0;
}

.contact-form .input-field {
    margin: 10px 0;
}

.contact-form button {
    margin-top: 15px;
}

.message.assistant .contact-form {
    max-width: 100%;
    margin-left: 0;
}

/* Estilos para redes sociales en el footer */
.social-links {
    margin: 15px 0;
}

.social-links .btn-floating {
    margin: 0 5px;
    transition: transform 0.3s ease;
}

.social-links .btn-floating:hover {
    transform: translateY(-3px);
}

.share-buttons {
    margin: 15px 0;
}

.share-buttons .btn {
    margin: 5px;
    width: 140px;
}

.social-links .btn-floating i {
    line-height: 56px;
    font-size: 1.6rem;
}

.share-buttons .btn i {
    font-size: 1.2rem;
    margin-right: 8px;
}

.icofont-2x {
    vertical-align: middle;
    margin-right: 8px;
}

.footer-copyright {
    font-size: 0.9rem;
}

/* Ajustes responsive */
@media only screen and (max-width: 1542px) {
    .logo-img {
        height: 50px !important;
    }
}

@media only screen and (max-width: 992px) {
    .brand-logo {
        left: 0;
        transform: none;
        padding-left: 0 !important;
    }
    
    .logo-img {
        height: 50px !important;
    }
}

@media only screen and (max-width: 600px) {    
    .brand-logo {
        padding-left: 10px !important;
    }
    
    .logo-img {
        height: 50px !important;
    }
    
    #chat-modal {
        width: 100%;
        height: 100%;
        max-height: 100%;
        margin: 0;
        top: 0 !important;
    }
}
