.hide {
    display: none;
}

.onInvalidFeedback.show {
    display: block;
    width: 100%;
    margin-top: .25rem;
    font-size: .875em;
    color: var(--bs-form-invalid-color);
    margin-bottom: 0;
}

.onInvalidFeedback:not(.show) {
    display: none;
}

/* 模糊背景的關鍵效果 */
.swal2-container::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    backdrop-filter: blur(4px); /* 模糊效果 */
    -webkit-backdrop-filter: blur(4px);
    z-index: -1;
}

#no-events-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 3.2rem; /* 或 JS 計算動態 top */
    background: rgba(255, 255, 255, 0.9);
    z-index: 5;
    display: none;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    text-align: center;
    transition: opacity 0.3s ease;
}

.no-events-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #555;
    font-size: 1.2rem;
    animation: fadeIn 0.5s ease;
}

.no-events-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #999;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.calendar-filter label {
    color: var(--bs-gray-600) !important;
}

.calendar-filter .form-group {
    margin-bottom: 0.5rem !important;
}

.tlaber_info {
    max-height: 105px !important;
    overflow-y: auto !important;
    margin-bottom: 40px;
}

@media (min-width: 768px) and (max-width: 991px) {
    .tlaber_info {
        max-height: 210px;
        overflow-y: auto;
    }
}

@media (max-width: 767px) {
    .tlaber_info {
        max-height: 210px;
        overflow-y: auto;
    }
}

@media (max-width: 575px) {
    .tlaber_info {
        max-height: none;
        overflow-y: auto;
    }
}

/* 會議逐字稿bubble */
.transcript-text.active {
    background-color: #e6f2ff !important;
    border-color: #007bff !important;
    box-shadow: 0 0 6px rgba(0, 123, 255, 0.4);
    position: relative;
}

.transcript-text.active::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: #007bff;
    border-radius: 4px;
}