/* Icon selector styles */
.qumo-icon-type-selector {
    margin-bottom: 24px;
}

.qumo-icon-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

/* New 2x2 grid layout for icon options */
.qumo-icon-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 12px;
}

.qumo-icon-option {
    padding: 18px;
    border-radius: 10px;
    border: 1px solid #ddd;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qumo-icon-option:hover {
    background-color: #f9f9f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.qumo-icon-option.selected {
    background-color: #e6f0f8;
    border-color: #2271b1;
}

.qumo-icon-option .dashicons {
    display: block;
    margin: 0 auto 10px;
    font-size: 26px;
    width: 26px;
    height: 26px;
}

.qumo-icon-option-label {
    font-size: 13px;
    display: block;
    color: #444;
}

/* Make color pickers more visible */
.qumo-color-picker-label {
    margin: 18px 0 10px;
    display: block;
    font-weight: 500;
    color: #333;
}

/* Position selector styles */
.qumo-position-selector {
    margin: 18px 0 24px;
}

.qumo-position-option {
    display: inline-block;
    padding: 12px 18px;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-right: 12px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qumo-position-option:hover {
    background-color: #f5f5f5;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.qumo-position-option.selected {
    background-color: #e6f0f8;
    border-color: #2271b1;
    font-weight: 500;
}

/* Section labels */
.qumo-section-label {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin: 28px 0 20px;
    font-weight: 600;
    color: #1e1e1e;
    font-size: 14px;
}

/* Form preview in Chat Icon block */
.qumo-form-preview {
    margin-top: 24px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.qumo-form-preview-label {
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    font-size: 14px;
}

/* Removed styling for .qumo-form-preview-container */

.qumo-form-icon-info {
    display: flex;
    align-items: center;
    margin-top: 20px;
    padding: 16px;
    background-color: #f8fafc;
    border-radius: 12px;
    border: 1px solid #eaeaea;
}

.qumo-chat-icon-demo {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    flex-shrink: 0;
}

.qumo-chat-icon-demo .dashicons {
    font-size: 20px;
}

.qumo-icon-description {
    margin-left: 16px;
    font-size: 13px;
    color: #444;
    line-height: 1.5;
}

/* Empty state placeholder */
.qumo-placeholder-container {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
    border-radius: 12px;
    margin-top: 20px;
    border: 1px dashed #e0e0e0;
}

.qumo-placeholder-container .dashicons {
    font-size: 40px;
    color: #999;
    margin-bottom: 15px;
}

.qumo-placeholder-text {
    font-size: 16px;
    color: #444;
    margin-bottom: 12px;
    font-weight: 500;
}

.qumo-placeholder-subtext {
    font-size: 13px;
    color: #666;
    max-width: 85%;
    margin: 0 auto;
    line-height: 1.5;
}

.qumo-placeholder-logo {
    height: 32px;
    margin-bottom: 20px;
}

/* Editor header improvements */
.qumo-editor-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding: 0 0 15px;
    border-bottom: 1px solid #eee;
}

.qumo-editor-header .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
    margin-right: 10px;
    color: #2271b1;
}

.qumo-editor-header strong {
    font-size: 16px;
    margin-left: 10px;
}

.qumo-logo {
    height: 24px;
    width: auto;
}

/* Component padding adjustments */
.components-panel__body-toggle {
    padding: 16px;
}

.components-base-control {
    padding: 0 4px;
}

/* Helper text */
.qumo-helper-text {
    margin: 16px 0;
    padding: 10px 14px;
    background-color: #f0f7ff;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    color: #333;
    font-size: 13px;
}
