/* WooCommerce Admin Meta Box Styles */
.optimal360-product-meta {
    padding: 5px 0;
}

.optimal360-product-meta p {
    margin: 8px 0;
}

.optimal360-woo-select-btn {
    width: 100%;
}

.optimal360-selected-info {
    padding: 8px 10px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 10px;
}

.optimal360-preview-thumb {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 4px;
    margin-bottom: 8px;
    border: 1px solid #ddd;
}

.optimal360-woo-remove-btn {
    color: #a00 !important;
}

.optimal360-woo-remove-btn:hover {
    color: #dc3232 !important;
}

/* 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-woo-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;
}
