.jitsi-meeting-view {
    width: 100vw;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: #000;
    overflow: hidden;
}

.loading-container,
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #fff;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading-text {
    margin-top: 20px;
    font-size: 16px;
}

.error-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.error-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.error-message {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 30px;
}

.error-btn {
    padding: 10px 30px;
    font-size: 16px;
    color: #fff;
    background: #409eff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;

    &:hover {
        background: #66b1ff;
    }
}

.meeting-container {
    width: 100%;
    height: 100%;

    // Jitsi External API 会在这个容器内创建 iframe
    #jitsi-meet-container {
        width: 100%;
        height: 100%;
    }
}