/**
 * HTTMotor - Estilos CSS para el plugin
 */

/* Estilos para botones */
.httmotor-login-button,
.httmotor-booking-button {
    cursor: pointer;
    padding: 8px 15px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.httmotor-login-button i,
.httmotor-booking-button i {
    margin-right: 8px;
}

.httmotor-login-button:hover {
    background-color: #357abf;
}

.httmotor-booking-button {
    background-color: #28a745;
}

.httmotor-booking-button:hover {
    background-color: #218838;
}

/* Estilos para sidebars */
.httmotor-login-sidebar,
.httmotor-booking-sidebar {
    position: fixed;
    top: 0;
    left: -320px; /* Inicialmente oculto */
    width: 300px;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transition: left 0.3s ease;
    padding: 20px 10px;
    overflow-y: auto;
}

.httmotor-login-sidebar.active,
.httmotor-booking-sidebar.active {
    left: 0; /* Mostrar el sidebar */
}

.httmotor-sidebar-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #777;
    transition: color 0.3s ease;
}

.httmotor-sidebar-close:hover {
    color: #333;
}

/* Overlay para cuando el sidebar está activo */
.httmotor-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.httmotor-sidebar-overlay.active {
    display: block;
}

/* Contenedor del motor de reservas */
.httmotor-booking-engine-container {
    display: flex;
    justify-content: center;
    padding: 24px;
    min-height: 300px;
}

/* Adaptación para dispositivos móviles */
@media screen and (max-width: 767px) {
    .httmotor-login-sidebar,
    .httmotor-booking-sidebar {
        width: 85%;
        left: -100%;
    }
}

/* Estilos para mejorar la apariencia de los formularios en inline mode */
.httmotor-login-inline-container,
.httmotor-booking-inline-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}