* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    overflow: hidden;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #1a1a2e;
    color: #e0e0e0;
}

.hidden {
    display: none !important;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 20, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

/* Modal */
.modal {
    position: relative;
    background: #2a2a40;
    border-radius: 16px;
    padding: 40px 32px 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Close Button */
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

/* Icon */
.modal-icon {
    margin-bottom: 20px;
    color: #2ecc71;
}

.modal-icon-error {
    color: #e74c3c;
}

/* Title */
.modal-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}

/* Text */
.modal-text {
    font-size: 15px;
    line-height: 1.5;
    color: #b0b0c0;
    margin-bottom: 28px;
}

.modal-text a {
    color: #2ecc71;
    text-decoration: underline;
    transition: color 0.2s;
}

.modal-text a:hover {
    color: #27ae60;
}

/* Actions */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 10px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s, opacity 0.2s;
}

.btn-primary {
    background: #2ecc71;
    color: #fff;
}

.btn-primary:hover {
    background: #27ae60;
}

.btn-secondary {
    background: #3a3a55;
    color: #e0e0e0;
}

.btn-secondary:hover {
    background: #4a4a65;
}

/* Jitsi Container */
#jitsi-container {
    width: 100%;
    height: 100%;
}

#jitsi-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
