/* Pros/Cons Block - Apple-style дизайн SSDSSU */

.wp-block-mychooz-pros-cons {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    margin: 0;
}

/* Основной контейнер */
.mcb-pc-container {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 24px;
    backdrop-filter: blur(8px);
}

/* Сетка колонок */
.mcb-pc-columns {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

/* Колонки плюсов и минусов */
.mcb-pc-pros,
.mcb-pc-cons {
    min-width: 0;
}

/* Заголовки колонок - как в Greenshift */
.mcb-pc-title {
    margin: 0 0 15px 0;
    font-size: 19px;
    font-weight: 700;
}

.mcb-pc-pros .mcb-pc-title {
    color: #58c649;
}

.mcb-pc-cons .mcb-pc-title {
    color: #f24f4f;
}

/* Списки */
.mcb-pc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Пункты списка - как в Greenshift */
.mcb-pc-item {
    list-style: none;
    margin: 0 0 10px 0;
}

.mcb-pc-item:last-child {
    margin-bottom: 0;
}

/* Иконки как текст - простые */
.mcb-pc-pro::before {
    content: '✓';
    color: #58c649;
    padding-right: 8px;
    font-size: 18px;
    vertical-align: top;
}

.mcb-pc-con::before {
    content: '✗';
    color: #f24f4f;
    padding-right: 8px;
    font-size: 18px;
    vertical-align: top;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .mcb-pc-container {
        padding: 20px;
    }
}

/* ============================================
   РЕДАКТОР
   ============================================ */

/* MyChooz Aesthetic - карточка контейнер */
.mcb-pc-editor {
    background: linear-gradient(135deg, #ffffff 0%, #fafbfc 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 16px;
    margin: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 2px 8px rgba(0, 0, 0, 0.04);
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
    backdrop-filter: blur(8px);
}

.mcb-pc-editor-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.mcb-pc-editor-column {
    padding: 0;
}

/* Пункты в редакторе */
.mcb-pc-editor-item {
    margin-bottom: 8px;
}

.mcb-pc-editor-item:last-of-type {
    margin-bottom: 0;
}

/* Строка: поле + кнопки в одну линию */
.mcb-pc-editor-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    position: relative;
}

/* Иконки в редакторе - как на фронте */
.mcb-pc-editor-pros .mcb-pc-editor-row::before {
    content: '✓';
    color: #58c649;
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1.4;
}

.mcb-pc-editor-cons .mcb-pc-editor-row::before {
    content: '✗';
    color: #f24f4f;
    font-size: 18px;
    margin-right: 8px;
    flex-shrink: 0;
    line-height: 1.4;
}

.mcb-pc-editor-input {
    flex: 1;
}

/* Убираем рамки и стилизуем textarea как на фронте */
.mcb-pc-editor-input textarea {
    width: 100%;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    font-size: 14px;
    line-height: 1.4;
    resize: none;
    min-height: 24px;
    overflow: hidden;
    background: transparent !important;
    field-sizing: content;
}

.mcb-pc-editor-input textarea:focus {
    border: none !important;
    box-shadow: none !important;
    outline: 1px solid #2271b1;
    outline-offset: 2px;
}

.mcb-pc-editor-controls {
    display: flex;
    gap: 4px;
    flex-shrink: 0;
    align-items: flex-start;
    padding-top: 3px;
}

.mcb-pc-editor-remove {
    color: #dc2626;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.mcb-pc-editor-remove:hover {
    color: #991b1b;
}

/* Кнопка добавления - Greenshift style */
.component-add-item-button-wrapper {
    margin-top: 4px;
    display: flex;
    justify-content: center;
}

.component-add-item-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border-radius: 2px;
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    width: 32px;
    height: 32px;
}