/* ==========================================
   BADGEDISPLAY
   ========================================== */

.badge-display-container {
        width: 100%;
    }

    .loading-badges {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 3rem;
        color: #777;
    }

    .spinner-small {
        border: 3px solid #ecf0f1;
        border-top: 3px solid #1a4d6f;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 1s linear infinite;
        margin-bottom: 0.5rem;
    }

    @@keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }

    .no-badges {
        text-align: center;
        padding: 3rem 2rem;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        border-radius: 12px;
        border: 2px dashed #bdc3c7;
    }

    .no-badges-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.5;
    }

    .no-badges h3 {
        color: #555;
        margin-bottom: 0.5rem;
    }

    .no-badges p {
        color: #888;
        font-size: 0.95rem;
    }

    .badges-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }

    .badge-card {
        background: white;
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .badge-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    }

    .badge-new {
        border: 3px solid #ff6b35;
        animation: pulse 2s infinite;
    }

    @@keyframes pulse {
        0%, 100% {
            box-shadow: 0 0 0 0 rgba(255, 107, 53, 0.7);
        }
        50% {
            box-shadow: 0 0 0 10px rgba(255, 107, 53, 0);
        }
    }

    .new-indicator {
        position: absolute;
        top: -10px;
        right: -10px;
        background: linear-gradient(135deg, #ff6b35 0%, #ff8c61 100%);
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 15px;
        font-size: 0.75rem;
        font-weight: bold;
        box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    }

    .badge-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
    }

    .badge-name {
        color: #1a4d6f;
        margin-bottom: 0.5rem;
        font-size: 1.25rem;
    }

    .badge-description {
        color: #555;
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }

    .badge-date {
        font-size: 0.85rem;
        color: #888;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #ecf0f1;
    }

    .badge-type-indicator {
        margin-top: 0.5rem;
        padding: 0.25rem 0.75rem;
        background: #ecf0f1;
        border-radius: 12px;
        font-size: 0.75rem;
        color: #555;
        display: inline-block;
    }

    @@media (max-width: 768px) {
        .badges-grid {
            grid-template-columns: 1fr;
        }
    }

/* ==========================================
   LANGUAGESELECTOR
   ========================================== */

.language-selector {
        position: relative;
        cursor: pointer;
        user-select: none;
    }

    .language-current {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 0.75rem;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 6px;
        transition: background 0.2s ease;
    }

    .language-current:hover {
        background: rgba(255, 255, 255, 0.2);
    }

    .language-flag {
        font-size: 1.2rem;
    }

    .language-code {
        font-weight: 600;
        color: white;
    }

    .dropdown-arrow {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.7);
        transition: transform 0.2s ease;
    }

    .language-selector:hover .dropdown-arrow {
        transform: translateY(2px);
    }

    .language-dropdown {
        position: absolute;
        top: calc(100% + 0.5rem);
        right: 0;
        min-width: 150px;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        overflow: hidden;
        z-index: 1000;
        animation: slideDown 0.2s ease;
    }

    @@keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .language-option {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .language-option:hover {
        background: #f8f9fa;
    }

    .language-option.active {
        background: #e7f3ff;
    }

    .language-option .language-name {
        color: #333;
        font-weight: 500;
    }

    .language-option.active .language-name {
        color: #1a4d6f;
        font-weight: 600;
    }


