.header {
    width: 100%;
    background-color: var(--bg-grey);
}

.headerRight {
    display: flex;
    flex-grow: 1;
    align-items: center;
    justify-content: flex-end;
}

.searchButton {
    background-color: transparent;
    color: var(--text-primary-contrast-color);
    border: none;
    transition: all 0.3s ease;

    &:hover {
        color: var(--text-primary-color);
    }
}

.headerDropdownToggle {
    background-color: var(--bg-white);
    color: var(--text-primary-color);
    border: none;
    border-radius: var(--border-radius-button);
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--bg-primary-color-opacity);
        color: var(--text-primary-color);
    }
}

.headerDropdownToggle::after {
    display: none;
}

.badge {
    background-color: var(--bg-primary-color);
}

.sidebarOpen,
.sidebarClose {
    background-color: var(--bg-primary-color-opacity);
    color: var(--text-primary-color);
    border: none;
    border-radius: var(--border-radius-button);
    padding: 6px 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    height: fit-content;
    align-self: center;
}

.logoLink {
    display: inline-flex;
}

.logo {
    width: 180px;
    height: auto;
    object-fit: contain;
}

.nav {
    flex-grow: 1;
}

.navList {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.navItem {
    margin: 0;
}

.navLink {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #495057;
    border-radius: 8px;
    padding: 10px 12px;
    transition: background-color 0.2s ease, color 0.2s ease;

    &:hover {
        background-color: var(--bg-grey);
        color: var(--text-black);
    }
}

.navLinkActive {
    color: var(--primary-color);
    background-color: var(--bg-primary-color-opacity);
    font-weight: 600;
}

.logoutWrapper {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e9ecef;
}

.logoutButton {
    display: inline-flex;
    justify-content: center;
    width: 200px;
    text-decoration: none;
    color: var(--text-white);
    background: var(--bg-gradient);
    box-shadow: var(--shadow-primary);
    border-radius: var(--border-radius-button);
    padding: 10px 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    &:hover {
        background-color: var(--secondary-color);
    }
}

.thumbnail {
    width: 200px;
    height: 150px;
    object-fit: cover;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;

    &:hover {
        transform: scale(1.05);
    }
}

.buttonPlay {
    display: inline-flex;
    justify-content: center;
    width: 150px;
    text-decoration: none;
    color: var(--text-white);
    background-color: var(--primary-color);
    border-radius: 8px;
    border: none;
    padding: 10px 12px;
    font-weight: 600;
    transition: all 0.3s ease;

    &:hover {
        background-color: var(--secondary-color);
    }
}

.offcanvasHeader{
    background-color: var(--bg-grey);
}

.offcanvasHeader :global(.btn-close) {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.linkVideo {
    display: block;
    width: 100%;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    background-color: var(--bg-white);
}

.boxVideo {
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.boxVideo::after {
    content: '\F4F4';
    color: var(--bg-grey);
    font-size: 4rem;
    align-content: center;
    text-align: center;
    font-family: 'bootstrap-icons';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
    transition: all 0.3s ease;
}

.boxVideo:hover::after {
    color: var(--bg-primary-color);
}

.boxVideoInfo{
    z-index: 1000;
    position: relative;
}

.titleVideo {
    color: var(--text-white);
    font-size: var(--size-font-text);
    font-weight: 700;
}

.descriptionVideo {
    color: var(--text-white);
    font-size: var(--size-font-small);
    font-weight: 500;
}

.videoThumbnail {
    width: 100%;
    object-fit: cover;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.thumbnail {
    width: 300px;
    object-fit: cover;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.linkWorkshop{
    display: block;
    width: fit-content;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 600;
    
    background-color: var(--bg-white);
    color: var(--text-black);
    transition: all .3s ease;
    &:hover{
        background-color: var(--bg-primary-color-opacity);
        color: var(--text-primary-color);
    }
}

.dateWorkshop, .timeWorkshop{
    background-color: var(--bg-white);
    font-size: var(--size-font-small);
    font-weight: 700;
    border-radius: var(--border-radius-button);
    padding: 5px 10px;
    width: fit-content;
}

.dateWorkshopMobile, .timeWorkshopMobile{
    font-size: var(--size-font-small);
    font-weight: 700;
}

.boxWorkshop{
    height: fit-content;
    max-height: 400px;
    background-color: var(--bg-grey);
    border-radius: var(--border-radius);
}

.titleWorkshop{
    color: var(--text-primary-color);
    font-size: var(--size-font-text);
    font-weight: 500;
}

.thumbnailWorkshop{
    background: linear-gradient(90deg, #e0e0e0 25%, #f0f0f0 50%, #e0e0e0 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    width: 100%;
    object-fit: cover;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
    transition: all 0.3s ease;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.icon{
    color: var(--text-primary-color);
}

.animateSpin {
    animation: spin 1s linear infinite;
}

@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}