* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: #000;
    font-family: 'Helvetica Neue', sans-serif;
    margin: 0;
    overflow-x: hidden;
    width: 100%;
    color: #fff;
}
.tvm {
    flex: 1;
    max-width: calc(100% - 200px);
    background-color: #000;
    padding: 40px;
}
a {
    text-decoration: none;
}
.tvm-user-wrapper {
    display: flex;
    min-height: 100vh;
    background-color: #000;
}
aside {
    width: 200px;
    height: 100vh;
    position: sticky;
    top: 0;
    background-color: #111;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid #fff;
}
aside .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}
aside .logo img {
    width: 100%;
}
.tvm-venue-menu ul {
    list-style: none;
}
.tvm-venue-menu ul li {
    margin-bottom: 20px;
}
.tvm-venue-menu ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}
.tvm-venue-menu ul li a:hover,
.tvm-venue-menu ul li.current-menu-item a {
    color: #6041D5;
}
ul li.current-menu-item > a {
    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
}
.tvm-avatar-dropdown img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 50%;
    border: 1px solid #6041D5;
}
.tvm-avatar-menu a {
    display: block;
    color: white;
    margin: 8px 0;
    text-decoration: none;
}
.tvm-avatar-menu a:hover {
    color: #6041D5;
}
.tvm-breadcrumbs {
    margin-bottom: 30px;
}
.tvm-breadcrumbs a {
    color: white;
    text-decoration: underline;
}
.tvm-breadcrumbs span {
    color: #6041D5;
    margin-left: 5px;
}
.tvm-principal {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.tvm-contenedor {
    width: 100%;
    padding: 0;
}
.tvm-contenedor h2,
.tvm-contenedor thead tr,
.tvm-contenedor tbody td {
    color: #fff;
}
.tvm-contenedor tbody td a {
    color: #fff !important;
    text-decoration: underline;
    padding-right: 10px;
}
.tvm-help-icon {
    margin-left: 5px;
    display: inline-block;
    color: #aaa;
    cursor: pointer;
    font-weight: bold;
}
.tvm-help-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    background-color: #222;
    color: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    white-space: nowrap;
    font-size: 12px;
    margin-top: 6px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.paginado {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 20px;
}
.paginado a.page-numbers {
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: underline;
    font-weight: 600;
}
.paginado a.page-numbers.next,
.paginado a.page-numbers.prev {
    text-decoration: none;
}
.paginado .current {
    color: #6041D5;
    font-weight: 600;
}
.button-primary,
.button-tvm,
.button.button-primary {
    background-color: #6041D5 !important;
    border: none;
    color: #fff;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
}
.button-primary:hover,
.button-tvm:hover {
    background-color: #3E298C !important;
    transition: all ease 0.6s;
}
.button.button-primary {
    grid-column: span 2;
    padding: 12px 20px;
}
.card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #252525;
    border-radius: 10px;
    padding: 15px;
    gap: 12px;
    width: 100%;
    position: relative;
    border: 1px solid transparent;
    transition: all ease 0.4s;
}
.card:hover {
    background-color: #3e3e3e !important;
}
.card:before {
    position: absolute;
    content: '';
    background-color: #6041D5;
    top: 100%;
    left: 1%;
    width: 0;
    height: 1px;
    transition: all ease 1s;
}
.card:hover:before {
    width: 98%;
}
.card-content {
    width: calc(100% - 160px)
}
input,
input:not([type="file"]),
textarea,
.multiselect-wrapper {
    border-radius: 6px !important;
    border: 1px solid rgba(97, 65, 213, 0.4) !important;
    position: relative !important;
    transition: all ease 0.3s;
}
input:hover,
input:not([type="file"]):hover,
textarea:hover,
.multiselect-wrapper:hover,
input:focus-visible,
input:not([type="file"]):focus-visible,
textarea:focus-visible,
.multiselect-wrapper:focus-visible {
    border: 1px solid rgba(97, 65, 213, 1) !important;
}
form.venue-form {
    padding: 0 20px 20px;
    background: #111;
    color: #fff;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}
form.venue-form:not(.multiselect-options) label {
    font-weight: 500;
    display: block;
    margin-bottom: 0px!important;
}
.multiselect-options input {
    margin-right: 5px;
}
form.venue-form input[type="text"],
form.venue-form textarea,
form.venue-form select {
    width: 100%;
    background: #222;
    border: 1px solid #444;
    color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}
form.venue-form textarea {
    resize: vertical;
}
.multiselect-wrapper {
    background-color: #222;
    border: 1px solid #444;
    padding: 10px;
    color: #fff;
    cursor: pointer;
    user-select: none;
    margin-bottom: 10px;
}
.multiselect-options {
    margin-top: 5px;
    display: none;
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    z-index: 10;
}
.multiselect-wrapper.open .multiselect-options {
    display: block;
}
.multiselect-options label {
    display: block;
    padding: 8px 12px;
    border-bottom: 1px solid #333;
    cursor: pointer;
}
.multiselect-options label:hover {
    background-color: #333;
}
.selected-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}
.selected-tags span {
    background: #fff;
    color: #000;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
}
.asociate {
    display: block;
    padding: 0 12px;
    background-color: #fff;
    border: 1px solid transparent;
    color: #000;
    text-decoration: underline;
    transition: all ease 0.3s;
    border-radius: 6px;
}
.asociate:hover {
    background-color: #6041D5;
    border: 1px solid #6041D5;
    color: #fff;
}
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}
.fade-up,
.fade-down,
.fade-left,
.fade-right {
    opacity: 0 !important;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-up { transform: translateY(30px) !important; }
.fade-down { transform: translateY(-30px) !important; }
.fade-left { transform: translateX(30px) !important; }
.fade-right { transform: translateX(-30px) !important; }
.fade-up.visible,
.fade-down.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}
.overlay-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    display: none;
    justify-content: flex-end;
}
.overlay-panel {
    background: #000;
    width: 480px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.5s ease;
}
.overlay-backdrop.show .overlay-panel {
    transform: translateX(0);
}
.overlay-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.overlay-header h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #fff;
}
.overlay-iframe {
    flex-grow: 1;
    border: none;
    width: 100%;
}
#iframeLoaderEvent span {
    opacity: 0;
    animation: blink 1.4s infinite;
}
#iframeLoaderEvent .dot-1 { animation-delay: 0s; }
#iframeLoaderEvent .dot-2 { animation-delay: 0.2s; }
#iframeLoaderEvent .dot-3 { animation-delay: 0.4s; }
@keyframes blink {
    0%, 20% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}
.tvm-profile {
    width: 100%;
    max-width: 100%;
    margin: 0px auto 40px;
    background-color: #111;
    border-radius: 16px;
    color: #fff;
}

.tvm-profile h2 {
    margin-bottom: 20px;
    font-size: 28px;
    color: #fff;
}

.tvm-profile form {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}

.tvm-profile .full {
    grid-column: 1 / -1;
}

.tvm-profile label {
    color: #fff;
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
}

.tvm-profile input,
.tvm-profile select,
.tvm-profile textarea {
    width: 100%;
    background-color: #1d1d1d;
    border: 1px solid #333;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 4px;
}

.tvm-profile img.avatar-preview {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin-top: 4px;
    border: 2px solid #6041D5;
    display: block;
}

.tvm-profile .button-primary {
    background-color: #6041D5;
    border-color: #6041D5;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    width: fit-content;
    grid-column: 1 / -1;
    margin-top: 16px;
}

.tvm-profile .button-primary:hover {
    background-color: #9e72c3;
    border-color: #9e72c3;
}

.overlay-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6); z-index: 999;
    display: none; justify-content: flex-end;
}
.overlay-panel {
    background: #000; width: 480px; max-width: 1000%;
    height: 100%; display: flex; flex-direction: column;
    transform: translateX(100%); transition: transform 1s ease;
}
.overlay-backdrop.show .overlay-panel { transform: translateX(0%); }
.overlay-header { padding: 20px; display: flex; justify-content: space-between; align-items: center; }
.overlay-header h3 { margin: 0; font-size: 1.2rem; color: #fff; }
.overlay-header button { padding: 0 }
.overlay-iframe { flex-grow: 1; border: none; width: 100%; }
#iframeLoader span { opacity: 0; animation: blink 1.4s infinite; }
#iframeLoader .dot-1 { animation-delay: 0s; } #iframeLoader .dot-2 { animation-delay: 0.2s; } #iframeLoader .dot-3 { animation-delay: 0.4s; }
@keyframes blink { 0%, 20% { opacity: 0; } 50% { opacity: 1; } 100% { opacity: 0; } }

.tvm-r-header {
    display: none;
}

.tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.card-image-container {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #333;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.form-col-1 {
    grid-column: span 1;
}

.form-col-2 {
    grid-column: span 2;
}

.card-footer {
    display: flex;
    flex-flow: column;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    width: 100px;
    height: 80px;
}

/* Responsive */ 
@media screen and (max-width: 1000px) {
    .overlay-backdrop  {
        z-index: 9999;
    }
    .overlay-header h3 {
        max-width: 80%;
    }
    .tvm-aside-principal {
        width: 100%;
        position: fixed;
        right: -100%;
        transition: right 0.3s ease-in-out;
        border: none;
        background-color: #111;
        padding-top: 0;
        z-index: 999;
    }
    .tvm-aside-principal img {
        width: 150px!important;
        margin: 0 auto;
    }
    .tvm-r-header {
        z-index: 9999;
        top: 0;
        width: 100%;
        position: fixed;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        background-color: #000;
    }
    .tvm-aside-principal.active {
        right: 0;
    }
    .tvm-r-header img {
        width: 120px;
    }
    .tvm-avatar-menu {
        display: flex;
        justify-content: space-between;
        margin-top: 10px;
    }
    .tvm-avatar-menu a {
        padding-bottom: 60px;
    }
    .tvm {
        width: 100%;
        max-width: 100%;
        padding: 90px 20px 30px;
    }
    .tvm-aside-principal .avatar {
        display: none;
    }
    .tvm-user-wrapper {
       display: block;
    }
    .home-text {
        font-size: 1.2rem!important;
    }
    .tabs {
        gap: 10px;
    }
    .card-image-container {
        width: 60px;
        height: 60px;
        border-radius: 5px;
    }
    .card {
        border-radius: 5px;
        padding: 8px;
        gap: 10px;
        width: 100%;
    }
    .card-content {
        width: calc(100% - 130px)
    }
    .form-col-1 {
    grid-column: span 2;
    }

    .form-col-2 {
        grid-column: span 2;
    }
    .selected-tags, .multiselect-wrapper {
        margin-bottom: 0px;
    }
    .card-footer {
        width: 60px;
        height: 80px;
    }
}

/* */
.tvm-menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 30px;
    height: 24px;
    z-index: 999;
}

.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    background-color: white;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    position: absolute;
    transition: all 0.3s ease;
}

.hamburger-icon {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    top: 10px;
}

/* Activar animación al hacer clic */
.menu-open .hamburger-icon {
    background-color: transparent;
}

.menu-open .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.menu-open .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}