/* Editor styles for TOT Gutenberg blocks */

.tot-widgets-block-preview {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    margin: 10px 0;
    background: #f9f9f9;
    position: relative;
    min-height: 120px;
    
    &:hover {
        border-color: #007cba;
        background: #f0f8ff;
    }

    &[data-widget="reputationSummary"] {
        border-color: #4caf50;
        
        .tot-block-icon .dashicons {
            color: #4caf50;
        }
    }
    
    &[data-widget="verifiedIndicator"] {
        border-color: #2196f3;
        
        .tot-block-icon .dashicons {
            color: #2196f3;
        }
    }
    
    &[data-widget="accountConnector"] {
        border-color: #ff9800;
        
        .tot-block-icon .dashicons {
            color: #ff9800;
        }
    }
    
    &[data-widget="reportAbuse"] {
        border-color: #f44336;
        
        .tot-block-icon .dashicons {
            color: #f44336;
        }
    }

    .tot-block-icon {
        position: absolute;
        top: 15px;
        right: 15px;
        opacity: 0.3;
        
        .dashicons {
            font-size: 24px;
            width: 24px;
            height: 24px;
        }
    }
    
    .tot-block-content {
        h4 {
            margin: 0 0 10px 0;
            color: #1e1e1e;
            font-size: 16px;
            font-weight: 600;
        }
        
        p {
            margin: 5px 0 !important;
            color: #666;
            font-size: 14px;
            
            strong {
                color: #1e1e1e;
            }
    
            &.tot-block-description {
                margin-bottom: 15px !important;
            }
    
            span {
                font-weight: 600;
            }
        }
    }

    .tot-block-settings {
        margin: 10px 0;
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    .tot-setting-badge {
        background: #007cba;
        color: white;
        padding: 2px 8px;
        border-radius: 12px;
        font-size: 11px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }
    
    .tot-block-note {
        font-style: italic;
        color: #999 !important;
        font-size: 12px !important;
        margin-top: 15px !important;
        border-top: 1px solid #eee;
        padding-top: 10px;
    }
    
    .tot-status-examples {
        margin: 15px 0;
        padding: 10px;
        background: white;
        border-radius: 4px;
        border: 1px solid #e0e0e0;
        
        p {
            margin: 0 0 8px 0 !important;
            font-weight: 600 !important;
        }
        
        ul {
            margin: 0;
            padding-left: 20px;
            
            li {
                margin: 5px 0;
                font-size: 13px;
                color: #555;
            }
        }
    }
}

/* Inspector Controls Styling */
.components-panel__body .components-base-control {
    margin-bottom: 16px;
}

.components-base-control__help {
    font-size: 12px;
    color: #757575;
    margin-top: 4px;
}
