/* Main Container */
.chatwall-token-showcase {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    color: #334155;
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* Tier Sections */
.tier-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.premium-section {
    border-top: 4px solid #f59e0b;
    /* Amber accent */
}

/* Headers */
.tier-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    background: #f8fafc;
}

.tier-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

/* Badges */
.badge {
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.badge-free {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.badge-premium {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Grid Layout */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    padding: 24px;
}

.token-category h3 {
    font-size: 1rem;
    color: #64748b;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.cat-icon {
    font-size: 1.2rem;
}

/* Token List Layout */
.token-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Base Token Style - Matching ChatWall Overlay */
.token {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', monospace;
    /* Code-like font for tokens */
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid transparent;
    cursor: default;
    transition: transform 0.1s;
}

.token:hover {
    transform: translateY(-1px);
}

/* --- TOKEN COLOR & ICON MAPPINGS --- */
/* Base Icon Style */
.token::before {
    margin-right: 6px;
    font-family: "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

/* Free Tier */
.token-NAME {
    background-color: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.token-NAME::before {
    content: "👤";
}

.token-EMAIL {
    background-color: #ffedd5;
    color: #c2410c;
    border-color: #fed7aa;
}

.token-EMAIL::before {
    content: "📧";
}

.token-PHONE {
    background-color: #ffedd5;
    color: #9a3412;
    border-color: #fdba74;
}

.token-PHONE::before {
    content: "📞";
}

.token-LOC {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.token-LOC::before {
    content: "📍";
}

.token-CITY {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.token-CITY::before {
    content: "🏢";
}

.token-COUNTRY {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.token-COUNTRY::before {
    content: "🗺️";
}

.token-POSTAL {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.token-POSTAL::before {
    content: "📮";
}

.token-DATE {
    background-color: #fae8ff;
    color: #86198f;
    border-color: #f0abfc;
}

.token-DATE::before {
    content: "📅";
}

.token-TIME {
    background-color: #fae8ff;
    color: #86198f;
    border-color: #f0abfc;
}

.token-TIME::before {
    content: "⏰";
}

.token-URL {
    background-color: #cffafe;
    color: #0891b2;
    border-color: #a5f3fc;
}

.token-URL::before {
    content: "🔗";
}

.token-CUSTOM {
    background-color: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
    border-style: dashed;
}

.token-CUSTOM::before {
    content: "🛡️";
}

/* Premium Tier */
.token-IBAN {
    background-color: #fef9c3;
    color: #854d0e;
    border-bottom: 2px solid #eab308;
}

.token-IBAN::before {
    content: "🏦";
}

.token-CB {
    background-color: #fef9c3;
    color: #854d0e;
    border-bottom: 2px solid #eab308;
}

.token-CB::before {
    content: "💳";
}

.token-BIC {
    background-color: #fef9c3;
    color: #854d0e;
    border-bottom: 2px solid #eab308;
}

.token-BIC::before {
    content: "🏦";
}

.token-VAT {
    background-color: #fef9c3;
    color: #854d0e;
    border-bottom: 2px solid #eab308;
}

.token-VAT::before {
    content: "🧾";
}

.token-VCS {
    background-color: #fef9c3;
    color: #854d0e;
    border-bottom: 2px solid #eab308;
}

/* VCS: Icon added */
.token-VCS::before {
    content: "🏦";
}

.token-PLATE {
    background-color: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.token-PLATE::before {
    content: "🚗";
}

.token-CRYPTO {
    background-color: #fff7ed;
    color: #9a3412;
    border-color: #ffedd5;
}

.token-CRYPTO::before {
    content: "🪙";
}

.token-MONEY {
    background-color: #d1fae5;
    color: #047857;
    border-color: #6ee7b7;
}

.token-MONEY::before {
    content: "💰";
}

.token-ID {
    background-color: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.token-ID::before {
    content: "🏷️";
}

.token-UUID {
    background-color: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.token-UUID::before {
    content: "🏷️";
}

.token-VIN {
    background-color: #eef2ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.token-VIN::before {
    content: "🚗";
}

.token-PASSPORT {
    background-color: #e0e7ff;
    color: #3730a3;
    border-color: #c7d2fe;
}

.token-PASSPORT::before {
    content: "🛂";
}

.token-SSN {
    background-color: #fce7f3;
    color: #be185d;
    border-color: #fbcfe8;
}

.token-SSN::before {
    content: "🔢";
}

.token-SECRET {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

.token-SECRET::before {
    content: "🔒";
}

.token-PIN {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

.token-PIN::before {
    content: "🔐";
}

.token-KEY {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

.token-KEY::before {
    content: "🔑";
}

.token-IP {
    background-color: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.token-IP::before {
    content: "🌐";
}

.token-MAC {
    background-color: #e0f2fe;
    color: #0369a1;
    border-color: #bae6fd;
}

.token-MAC::before {
    content: "💻";
}

.token-FAVORITE {
    background-color: #fef08a;
    color: #854d0e;
    border-color: #fde047;
    /* Increase specificity/boldness if needed */
    font-weight: 700;
}

.token-FAVORITE::before {
    content: "⭐";
}

.highlight-category {
    background: linear-gradient(to right, #fffbeb, #fff7ed);
    border: 2px dashed #f59e0b;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(245, 158, 11, 0.1);
    height: 100%;
    /* Fill grid height */
    box-sizing: border-box;
}

.highlight-category h3 {
    color: #92400e;
    /* Darker amber for title */
    margin-bottom: 12px;
}

.token-ORG {
    background-color: #f3e8ff;
    color: #7e22ce;
    border-color: #d8b4fe;
}

/* --- NEW TOKENS: JWT, GPS, PATH, AWS --- */
.token-JWT {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

.token-GPS {
    background-color: #fee2e2;
    color: #991b1b;
    border-color: #fecaca;
}

.token-PATH {
    background-color: #cffafe;
    color: #0891b2;
    border-color: #a5f3fc;
}

.token-AWS {
    background-color: #fffbeb;
    color: #b45309;
    border-color: #fcd34d;
}

.token-JWT::before {
    content: "🛡️";
}

.token-GPS::before {
    content: "🧭";
}

.token-AWS::before {
    content: "📦";
}

.token-PATH::before {
    content: "📂";
}

.token-ORG::before {
    content: "🏢";
}

.token-EAN {
    background-color: #fef3c7;
    color: #92400e;
    border-color: #fde68a;
}

.token-EAN::before {
    content: "🏷️";
}