/* IWS Membership System - Design System - Referencing Global Theme Variables */

.membership-status-card {
    background: linear-gradient(145deg, #0f172a 0%, #020617 100%) !important;
    border: 1px solid rgba(59, 130, 246, 0.4) !important;
    padding: 1.5rem !important; /* REDUCED PADDING */
    border-radius: 1rem !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 15px rgba(59, 130, 246, 0.1) !important;
    position: relative;
    overflow: hidden;
    margin-bottom: 2rem !important;
    transition: all 0.3s ease;
}

.membership-status-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px; /* SLIMMER ACCENT */
    height: 100%;
    background: var(--theme-primary);
    box-shadow: 1px 0 8px rgba(59, 130, 246, 0.4);
}

.membership-status-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 25px rgba(59, 130, 246, 0.2) !important;
}

/* RESPONSIVE HEADER */
.membership-status-card h6 {
    color: #fff !important;
    font-size: 1rem !important; /* REDUCED FONT SIZE */
    font-weight: 700 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.membership-status-card h6 i {
    color: var(--theme-primary);
    font-size: 1.25rem !important;
    vertical-align: middle;
}

.membership-status-card .status-indicator {
    color: #fff !important;
    font-size: 0.75rem !important; /* COMPACT PILL */
    font-weight: 700;
    background: var(--theme-primary);
    padding: 0.25rem 0.65rem !important;
    border-radius: 2rem;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.3);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

/* COMPACT ALERT */
.ms-alert-pending {
    background: rgba(245, 158, 11, 0.08) !important;
    color: #fbbf24 !important;
    border: 1px solid rgba(245, 158, 11, 0.2) !important;
    border-radius: 0.75rem !important;
    padding: 1rem !important;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.85rem !important;
}

.ms-alert-pending i {
    font-size: 1.2rem !important;
    margin-top: 0.1rem;
}

.membership-status-card .expiry-info {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem !important;
}

/* REFINED BUTTON */
.ms-link-primary {
    color: #fff !important;
    background: linear-gradient(135deg, var(--theme-primary), #1d4ed8);
    padding: 0.5rem 1.5rem !important; /* COMPACT BUTTON */
    border-radius: 2rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.8rem !important;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.3);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 480px) {
    .membership-status-card {
        padding: 1.25rem !important;
    }
    .membership-status-card .d-flex.justify-content-between {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.75rem;
    }
    .membership-status-card h6 {
        font-size: 0.95rem !important;
    }
}
