body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

iframe {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border: none;
    margin: 0;
    padding: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.modal {
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    z-index: 1000;
    position: relative;
}

.modal-header {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.close-button {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-button:hover {
    background-color: #f1f1f1;
    color: #333;
}

.modal-body {
    padding: 20px;
}

.modal-subtitle {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
    margin-top: -10px;
    text-align: center;
}

.status-indicators {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.status-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f1f1f1;
}

.loading .status-icon {
    background-color: #f0f4ff;
    color: #4361ee;
    animation: pulse 1.5s infinite;
}

.success .status-icon {
    background-color: #e3fcef;
    color: #10b981;
    display: none;
}

.failed .status-icon {
    background-color: #fee2e2;
    color: #ef4444;
    display: none;
}

.status-text {
    font-size: 14px;
    color: #555;
}

.debug {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    margin-bottom: 25px;
    background-color: #f8f8f8;
    padding: 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.debug button {
    margin-left: auto;
    background-color: #4361ee;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.debug button:hover {
    background-color: #3a56d4;
}

.btn {
    padding: 8px 16px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary {
    background-color: #4361ee;
    color: white;
}

.btn-primary:hover {
    background-color: #3a56d4;
}

.video-container {
    width: 100%;
    background-color: #f8f8f8;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.video-preview {
    width: 100%;
    height: 200px;
    background-color: #f1f1f1;
    object-fit: cover;
}

.video-mini {
    display: none;
}

.silhouette {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 80px;
    height: 80px;
    background-color: #ddd;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.silhouette:before {
    content: "";
    width: 40px;
    height: 40px;
    background-color: #ccc;
    border-radius: 50%;
}

.silhouette:after {
    content: "";
    position: absolute;
    bottom: -30px;
    width: 60px;
    height: 60px;
    background-color: #ccc;
    border-radius: 50% 50% 0 0;
}

.silhouette-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -75%);
    color: #666;
    font-size: 14px;
    text-align: center;
    width: 100%;
    pointer-events: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.silhouette:hover .silhouette-text {
    opacity: 1;
}

.floating-notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.floating-notification:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.notification-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.notification-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    color: #555;
    position: relative;
}

.notification-status {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid white;
}

.status-loading {
    background-color: #4361ee;
    animation: pulse 1.5s infinite;
}

.status-success {
    background-color: #10b981;
}

.status-failed {
    background-color: #ef4444;
}

.status-inactive {
    background-color: #ccc;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}
