.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.partner-card {
    background: rgba(250, 250, 250, 0.03);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.partner-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 168, 76, 0.4);
}

.partner-logo-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.partner-logo-wrap img {
    width: 70%;
    height: 70%;
    object-fit: contain;
}

.partner-card-name {
    font-size: 0.85rem;
    color: rgba(250, 250, 250, 0.7);
    text-align: center;
}

.partner-tier-badge {
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.15rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.partner-tier-badge.bronze {
    background: rgba(205, 127, 50, 0.15);
    color: #cd7f32;
}

.partner-tier-badge.silver {
    background: rgba(192, 192, 192, 0.15);
    color: #c0c0c0;
}

.partner-tier-badge.gold {
    background: rgba(201, 168, 76, 0.15);
    color: #C9A84C;
}

/* [BARU] styling tombol admin di card partner */
.partner-card {
    position: relative;
}

.partner-admin-actions {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: flex;
    gap: 0.35rem;
}

.partner-admin-actions button {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    border-radius: 6px;
    padding: 0.2rem 0.4rem;
    cursor: pointer;
    font-size: 0.75rem;
}

/* [BARU] modal overlay & box (samain pola sama modal iuran rumah) */
.ir-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    align-items: center;
    justify-content: center;
}

.ir-modal-box {
    background: #141414;
    border: 1px solid rgba(201, 168, 76, 0.2);
    border-radius: 14px;
    padding: 1.5rem;
    width: 90%;
    max-width: 400px;
}

.ir-modal-box label {
    display: block;
    font-size: 0.75rem;
    color: rgba(250, 250, 250, 0.5);
    margin: 0.75rem 0 0.3rem;
}

.ir-modal-box input,
.ir-modal-box select {
    width: 100%;
    padding: 0.6rem;
    border-radius: 8px;
    border: 1px solid rgba(250, 250, 250, 0.15);
    background: rgba(250, 250, 250, 0.04);
    color: #fff;
}

.ir-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    margin-top: 1.25rem;
}