/* Debt Record Modal Styles */

.debt-record-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 4px 0;
}

/* Note Card Styling */
.debt-record-card {
    background: var(--bg-secondary, #ffffff);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid var(--border-color, #e2e8f0);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.debt-record-card:active {
    transform: scale(0.98);
}

.debt-record-card.pinned {
    border-left: 4px solid #8b5cf6;
}

.debt-record-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary, #1e293b);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.debt-record-preview {
    font-size: 0.9rem;
    color: var(--text-secondary, #64748b);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.debt-record-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.debt-record-date {
    font-size: 0.75rem;
    color: var(--text-secondary, #94a3b8);
}

/* Empty State */
.debt-record-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary, #94a3b8);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Read-Only Details */
