/* styles.css - Main stylesheet for SWIAT website */

/* Poppins Font Definition */
@font-face {
    font-family: 'Poppins';
    src: url("../assets/fonts/Poppins.2f07ada47e98.woff2") format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Poppins auf gesamte Website anwenden */
body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Token Card Styles */
.token-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.token-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Card Content Styles */
.detail-label { 
    font-weight: 500; 
    color: #003745; 
}

.detail-value { 
    color: #003745; 
}

.link-hover:hover { 
    color: #003745; 
}

.version-toggle { 
    font-weight: 500; 
}

/* Tag pills: same string always maps to the same index */
.tag-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    line-height: 1rem;
    font-weight: 500;
}

.tag-pill-0 {
    background-color: #d8f3dc;
    color: #1b4332;
}

.tag-pill-1 {
    background-color: #95d5b2;
    color: #1b4332;
}

.tag-pill-2 {
    background-color: #52b788;
    color: #081c15;
}

.tag-pill-3 {
    background-color: #b7e4c7;
    color: #1b4332;
}

.tag-pill-4 {
    background-color: #2d6a4f;
    color: #ffffff;
}

.tag-pill-5 {
    background-color: #1b4332;
    color: #ffffff;
}

.currency-pill-0 {
    background-color: #d0e7ff;
    color: #0a2540;
}

.currency-pill-1 {
    background-color: #90c2f0;
    color: #0a2540;
}

.currency-pill-2 {
    background-color: #4a90d9;
    color: #ffffff;
}

.currency-pill-3 {
    background-color: #b6d7f5;
    color: #0a2540;
}

.currency-pill-4 {
    background-color: #1d4e89;
    color: #ffffff;
}

.currency-pill-5 {
    background-color: #0a2540;
    color: #ffffff;
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 55, 69, 0.1);
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
    color: #003745;
    min-width: 70px;
    justify-content: flex-start;
}

.language-btn:hover {
    background: rgba(0, 55, 69, 0.1);
    transform: translateY(-1px);
}

.language-btn.active {
    background: #003745;
    color: white;
    box-shadow: 0 2px 4px rgba(0, 55, 69, 0.2);
}

.language-btn.active:hover {
    background: #004a5a;
}

/* Responsive Design */
@media (max-width: 768px) {
    .language-switcher {
        top: 10px;
        right: 10px;
        padding: 6px;
    }
    
    .language-btn {
        padding: 6px 8px;
        font-size: 12px;
        min-width: 60px;
    }
}