/* Section */
.module.example-transactions {
    border: 1px solid #2a2f36;
    border-radius: 12px;
    padding: 16px 20px;
    background: #0f1115;
    color: #eaeef4;
}
.module.example-transactions .et-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.et-kicker {
    font-size: 12px;
    text-transform: uppercase;
    color: #9aa4b2;
    letter-spacing: .04em;
}
.et-heading {
    margin: 4px 0 6px;
    font-weight: 700;
    font-size: 20px;
    color: #eaeef4;
}
.et-desc {
    margin: 0;
    font-size: 12px;
    color: #9aa4b2;
}
.et-badge {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    padding: 8px 10px;
    border: 1px dashed #2a2f36;
    border-radius: 8px;
    color: #eaeef4;
    background: #141821;
}
.et-badge-title {
    font-weight: 600;
    font-size: 12px;
    color: #eaeef4;
}
.et-badge-sub {
    font-size: 11px;
    color: #9aa4b2;
}

.et-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Pill card */
.et-card { display: block; }
.et-pill {
    display: grid;
    grid-template-columns: minmax(190px,1fr) minmax(230px,1.1fr) minmax(140px,auto);
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border: 1px solid #1c212b;
    border-radius: 999px;
    background: #131720;
    overflow: hidden;
}
.et-pill:hover {
    border-color: #1c212b;
    background: #131720;
}

.et-left {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.et-user { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.et-middle { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.et-row-sm {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.et-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: #9aa4b2;
    min-width: 0;
}
.et-currency {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #eaeef4;
    min-width: 0;
}

/* Neutral colors */
.et-profit-up, .et-percent.et-profit-up,
.et-profit-down, .et-percent.et-profit-down { color: inherit; }

.et-price { font-size: 11px; color: #9aa4b2; }

.et-template { display: none; }

.et-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: radial-gradient(circle at 20% 20%, #1f2733, #11151d);
    border: 1px solid #1f2633;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    position: relative;
}
.et-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}
.et-avatar .et-initials {
    font-size: 12px;
    font-weight: 700;
    color: #cbd3df;
    display: none;
}

.et-icon {
    width: 18px;
    height: 18px;
    object-fit: cover;
    border-radius: 4px;
}

@keyframes et-flash {
    0% { box-shadow: 0 0 0 0 rgba(87,146,255,0); border-color:#1c212b; }
    22% { box-shadow: 0 0 0 10px rgba(87,146,255,.12); border-color:#2d6bff; }
    55% { box-shadow: 0 0 0 6px rgba(87,146,255,.08); }
    100% { box-shadow: 0 0 0 0 rgba(87,146,255,0); border-color:#1c212b; }
}
.et-pill.et-blink { animation: et-flash 950ms ease-out 1; }
.et-pill.et-blink .et-profit,
.et-pill.et-blink .et-percent {
    color: #d9e6ff;
    text-shadow: 0 0 10px rgba(87,146,255,.35);
}

.et-user .et-name { font-weight:600; font-size:13px; line-height:1.2; color:#eaeef4; }
.et-user .et-sub { font-size:11px; color:#9aa4b2; }
.et-symbol { font-weight:600; font-size:12px; color:#eaeef4; }
.et-label { font-size:11px; color:#cbd3df; }
.et-price { font-size:11px; color:#9aa4b2; }

.et-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 0;
}
.et-profit { font-size:24px; font-weight:800; line-height:1; color:#ffffff; word-break:break-word; }
.et-percent { font-size:14px; font-weight:700; color:#cbd3df; }

/* Medium screens: shrink columns */
@media (max-width: 900px) {
    .et-pill {
        grid-template-columns: minmax(160px,1fr) minmax(200px,1fr) minmax(110px,auto);
        gap: 12px;
        padding: 10px 14px;
    }
    .et-profit { font-size:22px; }
    .et-percent { font-size:13px; }
}

/* Narrow mobile: stack vertically */
@media (max-width: 600px) {
    .et-pill {
        grid-template-columns: 1fr;
        border-radius: 16px;
        row-gap: 10px;
        padding: 12px 14px;
    }
    .et-right {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        align-items: center;
        gap: 12px;
    }
    .et-profit { font-size:20px; }
    .et-percent { font-size:13px; }
    .et-left { width:100%; }
    .et-middle { width:100%; }
    .et-row-sm { gap:8px; }
}

/* Very small devices */
@media (max-width: 400px) {
    .et-pill { padding: 10px 12px; }
    .et-avatar { width:32px; height:32px; }
    .et-profit { font-size:18px; }
    .et-percent { font-size:12px; }
    .et-user .et-name { font-size:12px; }
}
