/**
 * CBF Meet Frontend Styles
 * Scoped strictly to plugin elements to prevent layout issues on WordPress themes.
 */

.cbf-meet-wrapper {
    position: relative;
    width: 100%;
    min-height: 560px;
    height: 78vh;
    background-color: #0f172a;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.3);
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
}

.cbf-meet-container {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    position: relative;
}

.cbf-meet-container iframe {
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    border: none !important;
    display: block;
}

/* Moderator Action Bar & End Conference Button */
.cbf-meet-moderator-controls {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 999;
}

.cbf-meet-btn-endconference {
    background: #dc2626 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 8px 16px !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px !important;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4) !important;
    transition: all 0.2s ease-in-out !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.cbf-meet-btn-endconference:hover {
    background: #b91c1c !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(185, 28, 28, 0.5) !important;
}

.cbf-meet-btn-endconference:active {
    transform: translateY(0);
}

/* Notice for Draft / Closed Rooms */
.cbf-meet-notice {
    padding: 2.5rem 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: center;
    margin: 2rem auto;
    max-width: 650px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.cbf-meet-notice p {
    font-size: 1.1rem;
    color: #475569;
    margin: 0;
    font-weight: 500;
}
