﻿.eIcon .--eWrapper__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 60px;
    width: 60px;

    background: var(--brand-50);
    border-radius: 50%;
}

.eIcon .--eIcon {
    font-size: var(--font-size-text-lg);

    &.fa-trash,
    &.fa-pen-to-square,
    &.fa-circle-plus,
    &.fa-user-group,
    &.fa-book-copy {
        color: var(--brand-500);
    }

    &.fa-circle-check {
        color: green;
    }

    &.fa-circle-xmark {
        color: red;
    }
}

.eIcon .svg__wrapper {
    width: 48px;
    height: 48px;
    /*display: flex;*/
    padding: 6px;
    background: var(--brand-100);
    align-items: center;
    /*justify-content: center;*/
    border-radius: 50%;
}

.eIcon .eIconArrow::before {
    content: "\e014";
}



.eIcon .eUrgentDot {
    position: absolute;
    top: -12px;
    left: -10px;
}

.eIcon .eUrgentDot::before {
    font-family: "Font Awesome 6 Pro";
    content: "\f071";
    width: 24px;
    height: 24px;
    font-size: 24px;
    text-shadow: 1px 0 0 var(--white),
        -1px 0 0 var(--white),
        0 1px 0 var(--white),
        0 -1px 0 var(--white),
        1px 1px 0 var(--white),
        -1px 1px 0 var(--white),
        1px -1px 0 var(--white),
        -1px -1px 0 var(--white);
    color: #DC6803;
}

.eIcon {
    & .eRevertAI::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f2ea";
        width: 20px;
        height: 16px;
        font-size: 12px;
    }

    & .eImproveAI::before {
        font-family: "Font Awesome 6 Pro";
        content: "\e2ca";
        width: 20px;
        height: 16px;
        font-size: 12px;
    }

    & .eImproveSettingsAI::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f1de";
        width: 20px;
        height: 16px;
        font-size: 12px;
    }

    & .eInsertLocalImage::before {
        font-family: "Font Awesome 6 Pro";
        content: "\e1b5";
        width: 20px;
        height: 24px;
        font-size: 16px;
    }

    & .eFullScreenIcon::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f31d";
        width: 16px;
        height: 16px;
        font-size: 14px;
    }
}

.eIcon {
    & .eIconUsers,
    & .eIconAccount,
    & .eIconSheld,
    & .eIconEmail {
        display: flex;
        text-align: center;
    }

    & .eIconUsers::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f0c0";
        width: 34px;
        height: 34px;
        font-size: 20px; 
    }

    & .eIconAccount::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f7f3";
        width: 34px;
        height: 34px;
        font-size: 20px; 
    }

    & .eIconSheld::before {
        font-family: "Font Awesome 6 Pro";
        content: "\f2f7";
        font-size: 28px; 
    }

    & .eIconEmail:before {
        font-family: "Font Awesome 6 Pro";
        content: "\f0e0";
        width: 34px;
        font-size: 20px; 
    }

    & .eIconBulb:before {
        font-family: "Font Awesome 6 Pro";
        content: "\f672";
        width: 34px;
        font-size: 28px; 
    }
}

/* Bool column Templates */
.eTemplateColumn_GreenOkIcon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--success-500);
    border: 1px solid #20c997;
    vertical-align: middle;
    position: relative;
    text-align: center;
    line-height: 16px;
    font-size: 10px;
    color: var(--white);
    font-weight: bold;
}

.eTemplateColumn_GreenOkIcon::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 11px;
    font-weight: bold;
    color: var(--white);
}

/* Yellow circle - Warning/Caution status with checkmark */
.eTemplateColumn_YellowOkIcon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--warning-300);
    border: 1px solid #f39c12;
    vertical-align: middle;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: var(--white);
}

.eTemplateColumn_YellowOkIcon::before {
    content: "⚠";
    font-weight: bold;
}

/* Red circle - Error/Failed status with X mark */
.eTemplateColumn_RedCrossIcon {
    display: inline-block;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--error-500);
    border: 1px solid #c82333;
    vertical-align: middle;
    position: relative;
}

.eTemplateColumn_RedCrossIcon::before,
.eTemplateColumn_RedCrossIcon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 1.5px;
    background-color: var(--white);
    border-radius: 1px;
}

.eTemplateColumn_RedCrossIcon::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.eTemplateColumn_RedCrossIcon::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

/* Empty circle - No status/Neutral */
.eTemplateColumn_EmptyIcon {
    display: inline-flex;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #e9ecef;
    border: 1px solid #dee2e6;
    vertical-align: middle;
}

/* ── Status Pill ── */
.eStatusPill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 16px;
    border: 1px solid transparent;
    font-size: 13px;
    font-weight: 500;
    white-space: break-spaces;
    line-height: 1.4;
}

/*.eStatusPill::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: currentColor;
}*/

.eStatusPill--green  { color: #16a34a; background: #f0fdf4; border-color: #bbf7d0; }
.eStatusPill--red    { color: #dc2626; background: #fef2f2; border-color: #fecaca; }
.eStatusPill--yellow { color: #d97706; background: #fffbeb; border-color: #fde68a; }
.eStatusPill--gray   { color: #6b7280; background: #f8fafc; border-color: #cbd5e1; }
.eStatusPill--purple { color: #7c3aed; background: #f5f3ff; border-color: #ddd6fe; }
.eStatusPill--orange { color: #ea580c; background: #fff7ed; border-color: #fed7aa; }
.eStatusPill--blue   { color: #2563eb; background: #eff6ff; border-color: #bfdbfe; }