/*
 * Package Trust & Transfer Card (Elementor tag "Package Trust & Transfer Card").
 * Twicely palette: coral #F66669 (also used for chat / valid-until), primary
 * gold #FBBD03 family, black text, neutral grays, Recoleta font.
 */

.twicely-tc {
    --twicely-tc-muted: #6b7280;
    --twicely-tc-border: #e5e7eb;
    --twicely-tc-coral: #f66669;
    --twicely-tc-gold-soft: #fff6d6;

    display: flex;
    flex-direction: column;
    gap: 16px;
    box-sizing: border-box;
    width: 100%;
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--twicely-tc-border);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    color: #000000;
    font-family: 'Recoleta', 'Recoleta Alt', sans-serif;
}

.twicely-tc__icon {
    flex-shrink: 0;
}

/* Header: ownership pill left, status date right */
.twicely-tc__header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
}

.twicely-tc__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.twicely-tc__pill--consigned {
    background: #0691d7;
    color: #ffffff;
}

.twicely-tc__pill--twicely {
    background: #083fb9;
    color: #ffffff;
}

.twicely-tc__date {
    margin-left: auto;
    font-size: 13px;
    font-weight: 300;
    color: var(--twicely-tc-muted);
}

/* Verification panel */
.twicely-tc__panel {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--twicely-tc-gold-soft);
}

.twicely-tc__panel-icon {
    display: inline-flex;
    flex-shrink: 0;
}

.twicely-tc__panel-icon .twicely-tc__icon {
    width: 22px;
    height: 22px;
}

.twicely-tc__panel-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.twicely-tc__panel-label {
    font-size: 13px;
    color: var(--twicely-tc-muted);
}

.twicely-tc__panel-value {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

/* Responsibility / fail-copy lines */
.twicely-tc__lines {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.twicely-tc__lines li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
}

.twicely-tc__lines .twicely-tc__icon {
    margin-top: 2px;
    color: var(--twicely-tc-muted);
}

/* Transfer details */
.twicely-tc__transfer {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--twicely-tc-border);
}

.twicely-tc__transfer-heading {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--twicely-tc-muted);
}

.twicely-tc__field {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.twicely-tc__field-label {
    font-size: 14px;
    color: var(--twicely-tc-muted);
}

.twicely-tc__field-text {
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
    overflow-wrap: anywhere;
}

.twicely-tc__field-value {
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    overflow-wrap: anywhere;
}

.twicely-tc__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.twicely-tc__grid--single {
    grid-template-columns: minmax(0, 1fr);
}

@media (max-width: 480px) {
    .twicely-tc {
        padding: 18px;
        border-radius: 16px;
    }

    .twicely-tc__date {
        margin-left: 0;
        flex-basis: 100%;
    }

    .twicely-tc__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .twicely-tc__lines li {
        font-size: 15px;
    }
}
