/* ============================
   SHARED COMPONENTS: Badges & Profile Modals
   (Used in both Frontend and Admin Backend)
   ============================ */

/* Assignment Cards (Used in Profile Previews) */
.assignment-container {
    margin-top: 15px;
    margin-bottom: 30px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.assignment-card {
    flex: 1;
    min-width: 45%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.assignment-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.assignment-unit {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
    color: var(--primary, #fd7e14);
    text-transform: uppercase;
}
.assignment-number {
    font-family: 'Outfit', sans-serif;
    color: #ffffff;
    line-height: 1;
    font-weight: 800;
    font-size: 1.2rem;
}
.assignment-positions {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.assignment-positions .rp-badge {
    font-size: 10px;
    padding: 2px 8px;
}

/* Position Badges */
.rp-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.rp-QB { background: rgba(254, 243, 199, 0.2); color: #fbbf24; }
.rp-C  { background: rgba(219, 234, 254, 0.2); color: #60a5fa; }
.rp-WR { background: rgba(209, 250, 229, 0.2); color: #34d399; }
.rp-CB { background: rgba(252, 231, 243, 0.2); color: #f472b6; }
.rp-S  { background: rgba(237, 233, 254, 0.2); color: #a78bfa; }
.rp-B  { background: rgba(254, 226, 226, 0.2); color: #f87171; }
