﻿.XPCard {
    background: #f7faff; /* light XP-like panel colour */
    border: 2px solid #8CAAE7; /* matches TopBar colour */
    border-radius: 6px;
    padding: 16px 20px;
    margin: 20px 0;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.15); /* subtle XP shadow */
}

    .XPCard h1, .XPCard h3 {
        margin-top: 0;
    }

.XPCardHeader {
    background: linear-gradient(#ffffff, #d7e6ff);
    border-bottom: 1px solid #8CAAE7;
    padding: 6px 10px;
    font-weight: bold;
    font-size: 1.1rem;
    color: #003399;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
}

#UserBadge {
    position: absolute;
    right: 12px;
    top: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: linear-gradient(#ffffff, #dce7ff);
    border: 1px solid #8CAAE7;
    border-radius: 4px;
    font-size: 0.9rem;
    color: #003399;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    z-index: 20;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

    #UserBadge:hover {
        border-color: #5A8BE7;
        box-shadow: 0 0 6px rgba(90,139,231,0.6), 1px 1px 2px rgba(0,0,0,0.2);
    }

.xp-lang-pill {
    padding: 2px 8px;
    background: linear-gradient(#e7f0ff, #b8ccff);
    border: 1px solid #8CAAE7;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #003399;
    text-shadow: 0 1px 0 #ffffff;
    box-shadow: 1px 1px 2px rgba(0,0,0,0.15);
}

