/* =====================================================
   Accordion With Icon v2 — Frontend Styles
   ===================================================== */

.awi-accordion {
    width: 100%;
}

/* ── Panel ── */
.awi-panel {
    border: 1px solid #e0e7ef;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.awi-panel + .awi-panel {
    margin-top: 8px;
}

.awi-panel.awi-open {
    border-color: #1a6fbf;
}

/* ── Header ── */
.awi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px 14px 14px;
    background: #fff;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.2s ease;
}

.awi-header:hover {
    background-color: #f0f5fb;
}

.awi-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 0;
}

/* ═══════════════════════════════════════
   ICON BUBBLE — View variants
   Mirrors Elementor's icon box: default,
   stacked (filled bg), framed (border only)
═══════════════════════════════════════ */

.awi-icon-bubble {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-sizing: content-box; /* padding adds to size just like Elementor stacked */
}

.awi-icon-bubble i,
.awi-icon-bubble svg {
    display: block;
    line-height: 1;
    transition: color 0.2s ease, fill 0.2s ease;
    /* size is set via the Elementor selector control */
    font-size: 18px;
    color: #fff;
    fill: #fff;
}

/* ── Default: no bg, no border ── */
.awi-bubble-default {
    background: transparent;
    border: none;
    padding: 0;
}

.awi-bubble-default i,
.awi-bubble-default svg {
    color: #1a6fbf;
    fill: #1a6fbf;
}

/* ── Stacked: filled background ── */
.awi-bubble-stacked {
    background-color: #1a6fbf;
    border: none;
    padding: 10px; /* overridden by the padding control */
    width: 40px;
    height: 40px;
}

/* ── Framed: transparent bg + border ── */
.awi-bubble-framed {
    background-color: transparent;
    border: 2px solid #1a6fbf;
    padding: 10px;
    width: 40px;
    height: 40px;
}

.awi-bubble-framed i,
.awi-bubble-framed svg {
    color: #1a6fbf;
    fill: #1a6fbf;
}

/* ── Shapes ── */
.awi-bubble-square {
    border-radius: 6px;
}

.awi-bubble-round {
    border-radius: 30%;
}

.awi-bubble-circle {
    border-radius: 50%;
}

/* ── Panel Title ── */
.awi-panel-title {
    color: #1a6fbf;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
}

/* ── Chevron ── */
.awi-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    border: 1px solid #d0d8e4;
    color: #888;
    font-size: 11px;
    margin-left: 10px;
    transition: border-color 0.25s ease, color 0.25s ease;
}

.awi-chevron i {
    display: block;
    transition: transform 0.3s ease;
}

/* Closed state: arrow points down */
.awi-panel:not(.awi-open) .awi-chevron i {
    transform: rotate(180deg);
}

.awi-panel.awi-open .awi-chevron {
    color: #1a6fbf;
    border-color: #1a6fbf;
}

/* ── Body ── */
.awi-body {
    padding: 14px 18px;
    background: #fff;
    border-top: 1px solid #e0e7ef;
}

/* ── Feature List ── */
.awi-feature-list {
    margin: 0;
    padding-left: 20px;
    list-style: disc;
}

.awi-feature-item {
    padding: 4px 0;
    line-height: 1.65;
    font-size: 14px;
}

/* Icon list mode */
.awi-feature-item.awi-item-has-icon {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    list-style: none;
}

.awi-item-icon {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding-top: 3px;
}

.awi-item-icon i,
.awi-item-icon svg {
    font-size: 15px;
    color: #1a6fbf;
    fill: #1a6fbf;
    line-height: 1;
    display: block;
}

/* ── Feature title / desc ── */
.awi-feat-title {
    font-weight: 700;
    color: #1a1a1a;
    font-size: 14px;
}

.awi-feat-desc {
    color: #444;
    font-size: 14px;
}
