/* Divi Builder Styles */
.optimal360-select-wrapper {
    margin: 10px 0;
}

.optimal360-select-btn {
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    transition: background 0.2s;
}

.optimal360-select-btn:hover {
    background: #6d28d9;
}

.optimal360-selected-info {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 13px;
    color: #333;
}

/* Modal Styles */
.optimal360-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000000;
}

.optimal360-divi-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    max-width: 80vw;
    max-height: 80vh;
    background: #fff;
    border-radius: 8px;
    z-index: 1000001;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.optimal360-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.optimal360-modal-header h2 {
    margin: 0;
    font-size: 18px;
    color: #333;
}

.optimal360-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    line-height: 1;
}

.optimal360-modal-close:hover {
    color: #333;
}

.optimal360-modal-body {
    flex: 1;
    overflow: hidden;
}

.optimal360-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.optimal360-modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #ddd;
    text-align: right;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.optimal360-modal-close-btn {
    background: #7c3aed;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.optimal360-modal-close-btn:hover {
    background: #6d28d9;
}

/* Frontend Placeholder Styles */
.optimal360-showcase-placeholder {
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #f9f9f9;
    margin: 20px 0;
}

.optimal360-showcase-placeholder .optimal360-icon {
    font-size: 48px;
    font-weight: bold;
    color: #7c3aed;
    margin-bottom: 10px;
}

.optimal360-showcase-placeholder h3 {
    margin: 10px 0;
    color: #333;
}

.optimal360-showcase-placeholder p {
    color: #666;
    margin-bottom: 0;
}

/* Embed Container Styles */
.optimal360-embed-container {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    position: relative;
}

.optimal360-embed-iframe {
    width: 100%;
    height: 400px;
    border: none;
    display: block;
}
