/* Transaction Detail Modal Styles */

.detail-card {
    background: #ffffff;
    padding: 16px;
    /* border-radius: 20px; */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    margin-bottom: 8px;
}

/* Individual detail rows */
.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 4px;
    /* padding: 4px 10px; */
    border-bottom: 0.5px solid var(--bg-tertiary);
}

/* Labels */
.detail-label {
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--text-secondary);
    background: transparent;
}

/* Values */
.detail-value {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    text-align: right;
}

/* Special styling for Amount value */
#detail-amount {
    color: #0F172A;
    font-size: 1.1rem;
    font-weight: 700;
}

.detail-actions {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
    padding: 20px 0 8px;
    background: transparent !important;
}

/* Compact action buttons */
.btn-action-edit,
.btn-action-repeat,
.btn-action-delete {
    padding: 12px 16px;
    border-radius: 14px;
    border: none;
    font-size: 0.875rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-action-edit {
    background: #3B82F6;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-action-edit:hover {
    background: #2563EB;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

.btn-action-repeat {
    background: #10B981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.btn-action-repeat:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(16, 185, 129, 0.3);
}

.btn-action-delete {
    background: #EF4444;
    color: white;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.btn-action-delete:hover {
    background: #DC2626;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(239, 68, 68, 0.3);
}

.btn-action-edit:active,
.btn-action-delete:active {
    transform: translateY(0);
}