/**
 * Mobilis Top Bar Frontend Styles
 * 
 * @package MOBILISDES
 * @since 1.0.0
 */

/* Top Bar Container */
.mobilis-top-bar {
    position: relative;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 35px;
    background-color: #1f6bff;
    color: #fff;
    z-index: 999999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: none;
}

.mobilis-top-bar.mobilis-top-bar-visible {
    display: block;
    animation: slideDown 0.3s ease-in-out;
}

.mobilis-top-bar.mobilis-top-bar-hiding {
    animation: slideUp 0.3s ease-in-out;
}

/* Container */
.mobilis-top-bar-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 35px;
}

/* Content wrapper */
.mobilis-top-bar-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0px 40px 0px 15px;
    gap: 20px;
}

/* Title (left) */
.mobilis-top-bar-title {
    flex: 0 0 auto;
    font-weight: 600;
    font-size: 0.9em !important;
    line-height: 1.2em !important;
    font-family: 'Maven Pro', sans-serif!important;
    white-space: nowrap;
}

/* Description (center) */
.mobilis-top-bar-description {
    font-size: 0.7em !important;
    line-height: 1.2em !important;
    font-family: 'Arimo', sans-serif!important;
    padding: 0 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Nombre de lignes max */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* CTA (right) */
.mobilis-top-bar-cta {
    flex: 0 0 auto;
    line-height: 1;
}

.mobilis-top-bar-button {
    display: inline-block;
    padding: 6px 16px;
    background-color: #00b259;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.7em !important;
    line-height: 1.2em !important;
    font-family: 'Arimo', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mobilis-top-bar-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Close button */
.mobilis-top-bar-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.mobilis-top-bar-close:hover {
    opacity: 1;
}

.mobilis-top-bar-close svg {
    width: 14px;
    height: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {

}

@media (max-width: 680px) {
    .mobilis-top-bar-description{
        display:none
    }
}

/* No admin bar specific styles needed since not fixed */

/* Animation */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}
.top-header .fusion-column-wrapper{
    padding: 0!important
}