/* User Installment Manager Styles */
.uim-admin-wrap {
    font-family: inherit;
    margin-top: 20px;
}

.uim-card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
    max-width: 800px;
}

.uim-table th, .uim-table td {
    vertical-align: middle;
    text-align: right;
}

.button-danger {
    background-color: #dc3545 !important;
    border-color: #dc3545 !important;
    color: #fff !important;
}

.button-danger:hover {
    background-color: #c82333 !important;
    border-color: #bd2130 !important;
}

/* Frontend Styles */
.uim-frontend-container {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05);
    margin: 20px 0;
    direction: rtl;
    text-align: right;
}

.uim-frontend-container h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.25rem;
    color: #1e293b;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 10px;
}

.uim-frontend-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.uim-frontend-table th, .uim-frontend-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
}

.uim-frontend-table th {
    background-color: #f8fafc;
    color: #64748b;
    font-weight: 600;
}

.uim-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 500;
}

.uim-badge-pending {
    background-color: #fef3c7;
    color: #92400e;
}

.uim-badge-paid {
    background-color: #dcfce7;
    color: #166534;
}

.uim-badge-overdue {
    background-color: #fee2e2;
    color: #991b1b;
}

.uim-notice {
    padding: 15px;
    background-color: #eff6ff;
    color: #1e40af;
    border-radius: 8px;
    border: 1px solid #bfdbfe;
}

.uim-empty {
    padding: 20px;
    text-align: center;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
}
