/* Elementor Panel Styles */
.optimal360-button-wrapper {
    margin: 10px 0;
}

.optimal360-select-btn {
    background: #0073aa;
    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: #005a87;
}

.optimal360-info-wrapper {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 4px;
}

.optimal360-selected-info {
    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: 100000;
}

.optimal360-elementor-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: 100001;
    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: #0073aa;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.optimal360-modal-close-btn:hover {
    background: #005a87;
}

/* 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: 64px;
    color: #0073aa;
    margin-bottom: 10px;
    display: block;
    text-align: center;
}

.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;
}

.optimal360-embed-overlay-elementor {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    pointer-events: none;
}

.optimal360-embed-info-elementor {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 6px;
    font-size: 13px;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.optimal360-embed-info-elementor span {
    font-weight: 500;
    color: #333;
}
