.workshops-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
}

.workshop-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    overflow: hidden;
    gap: 20px;
}

.workshop-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.workshop-image {
    flex: 1;
    max-width: 250px;
}

.workshop-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3 !important;
    border-top: 10px solid $yellow-color;
}

.workshop-info {
    flex: 1;
    max-width: 180px;
    text-align: left;
}

.workshop-date {
    font-size: 1.2rem!important;
    font-weight: 650;
    line-height: 1.2!important;
    border: none!important;
}

.workshop-label {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
}

.workshop-instructor {
    font-size: 1rem;
    color: #666;
}

.workshop-details {
    flex: 2;
}

.workshop-title {
    font-size: 1.4rem;
    font-weight: inherit;
    color: #88761D;
}

.workshop-title a {
    text-decoration: none;
    color: #88761D!important;
    font-weight: lighter!important;
}

.workshop-extra-details {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.workshop-description {
    font-size: 1rem!important;
    color: #504b41!important;
}

.workshop-label{
    margin-bottom: 0!important;
}

.workshop-organizer{
    font-size: 1em!important;
    font-weight: 550!important;
    margin-bottom: 10px!important;
    color: #504b41!important;
    text-decoration: none!important;
}

#mec-attach-modal {
    all: unset;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 1200px;
    height: 85vh;
    background: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    border-radius: 10px !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#mec-attach-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

#mec-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: block !important;
}

#mec-attach-modal .mec-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px !important;
    background: #007cba !important;
    color: white !important;
    font-size: 18px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

#mec-attach-modal .mec-modal-header h2{
    color: white;
}

#mec-close-modal {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
}

#mec-attach-modal .mec-modal-body {
    flex-grow: 1 !important;
    padding: 20px !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
}

#mec-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: none !important;
}

#mec-attach-modal.show + #mec-modal-overlay {
    display: block !important;
}

#mec-attach-modal {
    width: 90% !important;
    max-width: 1000px !important;
    overflow: hidden !important;
}

.mec-event-list {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-height: 45vh !important;
    overflow-y: auto !important;
    overflow-x: auto !important;
    border: 1px solid #ddd;
}

.mec-event-row {
    display: flex;
    width: 100%;
    min-width: 0;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

.mec-event-row.mec-event-header {
    padding: 0 !important;
    margin: 0 !important;
}

.mec-event-header {
    font-weight: bold !important;
    background: #f4f4f4 !important;
    width: 100% !important;
}

.mec-event-header .mec-event-cell {
    background: #f4f4f4 !important;
    border-right: 1px solid #ddd;
    box-sizing: border-box !important;
    padding: 12px 8px !important;
    margin: 0 !important;
}

.mec-event-header .mec-event-cell:last-child {
    border-right: none;
    background: #f4f4f4 !important;
}

.mec-event-row.mec-event-header .mec-event-cell:nth-child(7),
.mec-event-row.mec-event-header .mec-event-cell:last-child {
    background: #f4f4f4 !important;
    flex: 0 0 20% !important;
    max-width: 20% !important;
}

.mec-event-cell {
    flex: 1;
    min-width: 0;
    padding: 12px 8px;
    text-align: left;
    word-wrap: break-word;
    overflow-wrap: break-word;
    box-sizing: border-box;
}

.mec-event-cell:first-child {
    flex: 0 0 18%;
    max-width: 18%;
}

.mec-event-cell:nth-child(2) {
    flex: 0 0 12%;
    max-width: 12%;
}

.mec-event-cell:nth-child(3) {
    flex: 0 0 18%;
    max-width: 18%;
}

.mec-event-cell:nth-child(4) {
    flex: 0 0 12%;
    max-width: 12%;
}

.mec-event-cell:nth-child(5) {
    flex: 0 0 10%;
    max-width: 10%;
}

.mec-event-cell:nth-child(6) {
    flex: 0 0 10%;
    max-width: 10%;
}

.mec-event-cell:last-child {
    flex: 0 0 20%;
    max-width: 20%;
    text-align: center;
}

#mec-pagination {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    padding: 15px 20px !important;
    border-top: 1px solid #ddd;
    background: #f9f9f9;
    margin-top: auto;
    flex-shrink: 0;
    width: 100%;
    box-sizing: border-box;
}

#mec-pagination button {
    min-width: 80px !important;
    padding: 6px 12px !important;
}

#mec-pagination #mec-page-info {
    font-weight: 600;
    min-width: 100px;
    text-align: center;
}

#mec-confirm-detach-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

#mec-qa-confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

.mec-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}
.mec-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
}
.hidden {
    display: none;
}

/* ==============================
   Q&A Events Section
   ============================== */
.qa-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 1000px;
}

.qa-item {
    display: flex;
    align-items: flex-start;
    background: #fff;
    overflow: hidden;
    gap: 20px;
    border-bottom: 2px solid #ddd;
    padding: 15px 0;
}

.qa-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.qa-image {
    flex: 1;
    max-width: 250px;
}

.qa-image img {
    width: 100%;
    height: auto;
    border-top: 4px solid #007cba;
}

.qa-info {
    flex: 1;
    max-width: 180px;
    text-align: left;
}

.qa-date {
    font-size: 1.5rem;
    font-weight: 650;
    line-height: 1.2 !important;
}

.qa-label {
    font-size: 1rem;
    font-weight: bold;
    color: #555;
}

.qa-host {
    font-size: 1rem;
    color: #666;
}

.qa-details {
    flex: 2;
}

.qa-title {
    font-size: 1.4rem;
    font-weight: inherit;
    text-transform: uppercase;
    color: #007cba;
}

.qa-title a {
    text-decoration: none;
    color: #007cba !important;
    font-size: .8em;
    font-weight: 550 !important;
    text-transform: uppercase;
}

.qa-extra-details {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
}

.qa-description {
    font-size: 1rem !important;
    color: #504b41 !important;
}

.qa-label {
    margin-bottom: 0 !important;
}

.qa-organizer {
    font-size: 1.4em !important;
    font-weight: 550 !important;
    margin-bottom: 10px !important;
    color: #504b41 !important;
}

/* ==============================
   Q&A Modal (Attach Event)
   ============================== */
#mec-attach-qa-modal {
    all: unset;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80vh;
    background: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    border-radius: 10px !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#mec-attach-qa-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

#mec-qa-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: block;
}

#mec-attach-qa-modal .mec-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px !important;
    background: #007cba !important;
    color: white !important;
    font-size: 18px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

#mec-attach-qa-modal .mec-modal-header h2 {
    color: white;
}

#mec-close-qa-modal {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
}

#mec-attach-qa-modal .mec-modal-body {
    flex-grow: 1 !important;
    padding: 20px !important;
    overflow-y: auto !important;
}

#mec-qa-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: none !important;
}

#mec-attach-qa-modal.show + #mec-qa-modal-overlay {
    display: block;
}

#mec-attach-qa-modal {
    width: 90% !important;
    max-width: 1000px !important;
    overflow: hidden !important;
}

/* ==============================
   Q&A Event List
   ============================== */
.mec-qa-event-list {
    display: flex;
    flex-direction: column;
    width: 100% !important;
}

.mec-qa-event-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.mec-qa-event-header {
    font-weight: bold;
    background: #f4f4f4;
}

.mec-qa-event-cell {
    flex: 1;
    padding: 12px;
    text-align: left;
}

.mec-qa-event-cell:last-child {
    flex: 0 0 150px;
    text-align: center;
}

/* ==============================
   Q&A Confirm Attach Modal
   ============================== */
#mec-confirm-qa-attach-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* ==============================
   Q&A Confirm Detach Modal
   ============================== */
#mec-confirm-qa-detach-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10002;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Botones para modales Q&A (attach y detach) */
#mec-confirm-qa-attach-modal .mec-modal-actions,
#mec-confirm-qa-detach-modal .mec-modal-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.mec-qa-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.mec-qa-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
}

/* Estados de visibilidad para modales Q&A */
#mec-confirm-qa-attach-modal.show,
#mec-confirm-qa-detach-modal.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#mec-confirm-qa-attach-modal.hidden,
#mec-confirm-qa-detach-modal.hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
}

.hidden {
    display: none!important;
}




/* ==============================
   Recommended Modal (Attach Event)
   ============================== */
#mec-attach-recommended-modal {
    all: unset;
    position: fixed !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    max-width: 900px;
    height: 80vh;
    background: white !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    z-index: 99999 !important;
    display: flex;
    flex-direction: column;
    border-radius: 10px !important;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

#mec-attach-recommended-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
}

#mec-recommended-modal-overlay {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: block;
}

#mec-attach-recommended-modal .mec-modal-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px !important;
    background: #007cba !important;
    color: white !important;
    font-size: 18px !important;
    border-top-left-radius: 10px !important;
    border-top-right-radius: 10px !important;
}

#mec-attach-recommended-modal .mec-modal-header h2 {
    color: white;
}

#mec-close-recommended-modal {
    background: none !important;
    border: none !important;
    color: white !important;
    font-size: 24px !important;
    cursor: pointer !important;
}

#mec-recommended-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.5) !important;
    z-index: 9998 !important;
    display: none !important;
}

#mec-attach-recommended-modal.show + #mec-recommended-modal-overlay {
    display: block;
}

#mec-attach-recommended-modal {
    width: 90% !important;
    max-width: 1000px !important;
    overflow: hidden !important;
}

/* ==============================
   Q&A Event List
   ============================== */
.mec-recommended-event-list {
    display: flex;
    flex-direction: column;
    width: 100% !important;
    max-height: 40vh;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
}

.mec-recommended-event-row {
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ddd;
    padding: 10px 0;
}

.mec-recommended-event-header {
    font-weight: bold;
    background: #f4f4f4;
}

.mec-recommended-event-cell {
    flex: 1;
    padding: 12px;
    text-align: left;
}

.mec-recommended-event-cell:last-child {
    flex: 0 0 150px;
    text-align: center;
}

/* ==============================
   Q&A Confirm Detach Modal
   ============================== */
#mec-recommended-confirm-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10002;
}

.mec-recommended-modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.mec-recommended-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10001;
}

.mec-recommended-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding: 8px 0;
}

.mec-recommended-filters input,
.mec-recommended-filters select {
    width: 100%;
    padding: 6px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.mec-recommended-filters select {
    height:40px!important;
}

#mec-filter-apply {
    align-self: end;
    padding: 6px 12px;
    font-weight: 600;
    border-radius: 4px;
}

